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 100461 - NPE when opening design view
Summary: NPE when opening design view
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: WSIT (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 13:05 UTC by Lukas Jungmann
Modified: 2007-05-01 12:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log (53.74 KB, text/plain)
2007-04-10 13:08 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2007-04-10 13:05:39 UTC
-create new JAX-WS service from Java
-open ws in design view (close the editor and double click on ws node in the
project view)

=> java.lang.NullPointerException
        at
org.netbeans.modules.websvc.wsitconf.design.DesignConfigPanel.getBinding(DesignConfigPanel.java:152)
        at
org.netbeans.modules.websvc.wsitconf.design.DesignConfigPanel.populateSecurityCombo(DesignConfigPanel.java:138)
        at
org.netbeans.modules.websvc.wsitconf.design.DesignConfigPanel.<init>(DesignConfigPanel.java:56)
        at
org.netbeans.modules.websvc.wsitconf.design.WSITWsConfiguration.getComponent(WSITWsConfiguration.java:42)
        at
org.netbeans.modules.websvc.design.view.DesignView.addConfigurationPanel(DesignView.java:143)
        at
org.netbeans.modules.websvc.design.view.DesignView.<init>(DesignView.java:98)
        at
org.netbeans.modules.websvc.design.multiview.DesignMultiViewElement.initUI(DesignMultiViewElement.java:99)
        at
org.netbeans.modules.websvc.design.multiview.DesignMultiViewElement.componentOpened(DesignMultiViewElement.java:115)
        at
org.netbeans.core.multiview.MultiViewPeer.showCurrentElement(MultiViewPeer.java:255)
...

NOTE: adding operation to the service doesn't help
Comment 1 Lukas Jungmann 2007-04-10 13:08:43 UTC
Created attachment 40668 [details]
ide log
Comment 2 Martin Grebac 2007-04-16 18:01:21 UTC
This is caused by the fact that there's no WSDL generated at this point from the
design view - it's supposed to be generated.
Will discuss with Rico and Milan what approach is the design view going to take.
Comment 3 Martin Grebac 2007-04-17 15:13:59 UTC
Fixed in trunk ... generating WSIT config files for now.
Comment 4 Lukas Jungmann 2007-05-01 12:47:28 UTC
v.