This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | call web service operation in servlet throws NPE | ||
---|---|---|---|
Product: | webservices | Reporter: | tamiro <tamiro> |
Component: | Client | Assignee: | issues@webservices <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
tamiro
2007-04-27 20:27:34 UTC
I can't reproduce the exception and missing @WebServiceRef section is reproducible only when I invoke Call Web Service Operation in code before this line inside processRequest method: "PrintWriter out = response.getWriter();" If I invoke Call.. under this line,everything is correct. Also,when annotation isn't generated automatically,it could be added manually,so I suppose this could be even P3 and not P2. This issue is reproducyble independently of the line I invoke Call WS Operation. I check it on several PCs and it's 100% reproducible. I agree that @WebServiceRef could be added manually but I think this isuue is P2 as minimum (even maybe P1). Can you please check whether this is a dup of issue 102202 or issue 101395? If not then attach your stacktrace here, please. I checked and Yes this appears to be a duplicate of 102202 I get the same stack dump WARNING [global]: java.lang.NullPointerException java.lang.NullPointerException at org.netbeans.modules.java.source.save.CasualDiff.isCommaSeparated(CasualDiff.java:2519) at org.netbeans.modules.java.source.save.CasualDiff.filterHidden(CasualDiff.java:1759) at org.netbeans.modules.java.source.save.CasualDiff.diffClassDef(CasualDiff.java:310) at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2101) at org.netbeans.modules.java.source.save.CasualDiff.diffListImports(CasualDiff.java:1864) at org.netbeans.modules.java.source.save.CasualDiff.diffTopLevel(CasualDiff.java:135) at org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2095) at org.netbeans.modules.java.source.save.CasualDiff.diff(CasualDiff.java:87) at org.netbeans.modules.java.source.save.Commit.commit(Commit.java:194) at org.netbeans.modules.java.source.save.Commit.visitCompilationUnit(Commit.java:146) Caused: QueryException at org.netbeans.modules.java.source.query.Query.error(Query.java:117) at org.netbeans.modules.java.source.save.Commit.visitCompilationUnit(Commit.java:154) at org.netbeans.modules.java.source.save.Commit.visitCompilationUnit(Commit.java:53) at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:476) at org.netbeans.modules.java.source.engine.RootTree.accept(RootTree.java:60) at org.netbeans.modules.java.source.query.Query.apply(Query.java:95) at org.netbeans.modules.java.source.save.Commit.commit(Commit.java:94) [catch] at org.netbeans.api.java.source.WorkingCopy.getChanges(WorkingCopy.java:201) *** This issue has been marked as a duplicate of 102202 *** |