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 148140 - NullPointerException at org.netbeans.modules.j2ee.jpa.refactoring.rename.PersistenceXmlPackageRename.prepare
Summary: NullPointerException at org.netbeans.modules.j2ee.jpa.refactoring.rename.Pers...
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dongmei Cao
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-24 03:09 UTC by nbnathan
Modified: 2010-03-17 14:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 117332


Attachments
stacktrace (883 bytes, text/plain)
2008-09-24 03:09 UTC, nbnathan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nbnathan 2008-09-24 03:09:44 UTC
Build: NetBeans IDE Dev (Build 200809171401)
VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Linux, 2.6.26, amd64

User Comments:
nbnathan: refactoring grails plugin



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.j2ee.jpa.refactoring.rename.PersistenceXmlPackageRename.prepare(PersistenceXmlPackageRename.java:99)
        at org.netbeans.modules.j2ee.jpa.refactoring.JPARefactoringPlugin.prepare(JPARefactoringPlugin.java:89)
        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)
        at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:784)
Comment 1 nbnathan 2008-09-24 03:09:50 UTC
Created attachment 70392 [details]
stacktrace
Comment 2 Dongmei Cao 2008-09-29 20:26:03 UTC
Could you please attach your project with reproducible steps? Thanks.
Comment 3 nbnathan 2008-09-29 21:24:42 UTC
Sorry, project that caused this exception is for a client that would not want the source released.  I'll try to
reproduce it and see if I can come up with a small project that will trigger the same error
Comment 4 mvanek 2008-11-28 13:05:02 UTC
feel free to reopen if you see similar issue 
Comment 5 Sergey Petrov 2010-03-17 14:57:14 UTC
fixed as http://netbeans.org/bugzilla/show_bug.cgi?id=181611