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.

Bug 102202

Summary: NPE after call ws operation
Product: webservices Reporter: Lukas Jungmann <jungi>
Component: JAX-WSAssignee: Milan Kuchtiak <mkuchtiak>
Status: VERIFIED DUPLICATE    
Severity: blocker CC: rcruz
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 101395    
Bug Blocks: 99509    
Attachments: ide log
New exception stack trace

Description Lukas Jungmann 2007-04-23 17:27:47 UTC
-create new web/ejb project
-create new ws client there
-create new servlet/session bean
-invoke call ws operation action, select some operation and press OK

=>java.lang.NullPointerException
        at
org.netbeans.modules.java.source.save.CasualDiff.isCommaSeparated(CasualDiff.java:2580)
        at
org.netbeans.modules.java.source.save.CasualDiff.filterHidden(CasualDiff.java:1820)
        at
org.netbeans.modules.java.source.save.CasualDiff.diffClassDef(CasualDiff.java:316)
        at
org.netbeans.modules.java.source.save.CasualDiff.diffTree(CasualDiff.java:2162)
        at
org.netbeans.modules.java.source.save.CasualDiff.diffListImports(CasualDiff.java:1925)
        at
org.netbeans.modules.java.source.save.CasualDiff.diffTopLevel(CasualDiff.java:137)
...
Comment 1 Lukas Jungmann 2007-04-23 17:29:19 UTC
Created attachment 41482 [details]
ide log
Comment 2 Milan Kuchtiak 2007-04-24 12:43:34 UTC
Not able to reproduce any more.
Comment 3 Andrey Yamkovoy 2007-04-24 15:21:22 UTC
Still reproducible on the latest coninious build #98.
Configuration: AppServer b41c, JDK 6.
Comment 4 Andrey Yamkovoy 2007-04-24 15:23:18 UTC
But the stacktrace a little bit different ...
Comment 5 Andrey Yamkovoy 2007-04-24 15:24:47 UTC
Created attachment 41551 [details]
New exception stack trace
Comment 6 Lukas Jungmann 2007-04-24 15:41:02 UTC
I've just found issue 101395, this one could be a dup of that.

Milane, can you check it, please?
Comment 7 Milan Kuchtiak 2007-04-24 17:07:37 UTC
Yes, this is caused by the same action as in issue 101395: adding new field to
an empty class.

*** This issue has been marked as a duplicate of 101395 ***
Comment 8 Pavel Flaska 2007-04-25 15:37:22 UTC
Definitely not random. There exists reproducible test-case under exact specific
circumstances.
Comment 9 Lukas Jungmann 2007-04-27 19:28:00 UTC
Milan, Rico

can you please apply a workaround described in issue 101395 to fix this for M9?
Comment 10 tamiro 2007-04-30 14:23:12 UTC
*** Issue 102826 has been marked as a duplicate of this issue. ***
Comment 11 Lukas Jungmann 2007-08-14 19:22:31 UTC
v.