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 155029 - NullPointerException at org.netbeans.modules.xml.refactoring.spi.SharedUtils.getFileObject
Summary: NullPointerException at org.netbeans.modules.xml.refactoring.spi.SharedUtils....
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Shivanand Kini
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-09 14:35 UTC by sanjay_dasgupta
Modified: 2015-02-04 03:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144129


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sanjay_dasgupta 2008-12-09 14:35:52 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments:
sanjay_dasgupta: Changing the name of a WSDL file (from "booklist.wsdl" to "booklistOriginal.wsdl"). The WSDL file was taken from this article: http://download.boulder.ibm.com/ibmdl/pub/software/dw/webservices/ws-restwsdl/ws-restwsdl-pdf.pdf

NetBeans also reports that this WSDL is "not well-formed".



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.xml.refactoring.spi.SharedUtils.getFileObject(SharedUtils.java:500)
        at org.netbeans.modules.xml.refactoring.FauxRefactoringElement.<init>(FauxRefactoringElement.java:94)
        at org.netbeans.modules.xml.wsdl.refactoring.WSDLRenameRefactoringPlugin.prepare(WSDLRenameRefactoringPlugin.java:226)
        at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:406)
        at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:390)
        at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:207)
Comment 1 Shivanand Kini 2008-12-09 19:43:58 UTC
Can you attach the wsdl file please, that reported the error?
Comment 2 Quality Engineering 2015-02-04 03:37:31 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.