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 102421 - Renaming page via page flow editor throws NPE
Summary: Renaming page via page flow editor throws NPE
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 Matula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-25 02:17 UTC by Joanne Lau
Modified: 2007-05-14 19:43 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joanne Lau 2007-04-25 02:17:59 UTC
NB: 200704241200

- Create a VW 1.5 project
- Create 2 VW pages
- Create links between the pages
- Select a page -> Rename
- Observe the following exception thrown:

java.lang.NullPointerException
        at
org.netbeans.modules.websvc.wsitconf.wsdlmodelext.WSITModelSupport.getModelForServiceFromJava(WSITModelSupport.java:349)
        at
org.netbeans.modules.websvc.wsitconf.refactoring.WSITXmlRenameRefactoring.prepare(WSITXmlRenameRefactoring.java:82)
        at
org.netbeans.modules.websvc.wsitconf.refactoring.WSITRenameRefactoringPlugin.prepare(WSITRenameRefactoringPlugin.java:127)
        at
org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:316)
        at
org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:173)
        at
org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:699)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)
        at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 Joelle Lam 2007-04-25 06:06:13 UTC
Winston, I believe this bug has nothing to do with Navigation, but simply
renaming/refactoring a page causes this.
Comment 2 Petr Pisl 2007-04-25 10:02:23 UTC
According to the stacktrace the NPE is coming from WSIT. I'm putting Martin
Grabac on CC, he should be author of the module.
Comment 3 Martin Grebac 2007-04-25 10:13:43 UTC
Thanks for correct name spelling ;O)

Reassigning ti proper category and owner. 
Comment 4 Martin Matula 2007-05-10 15:35:29 UTC
Seems to be fixed by the latest changes of the WSIT refactoring code I made.
Comment 5 Joanne Lau 2007-05-14 19:43:58 UTC
Exception no longer reproducible in dev build 070514