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 249491 - NullPointerException at org.netbeans.modules.j2ee.jpa.refactoring.rename.PersistenceXmlPackageRename.prepare
Summary: NullPointerException at org.netbeans.modules.j2ee.jpa.refactoring.rename.Pers...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-22 17:38 UTC by Exceptions Reporter
Modified: 2015-07-15 01:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214384


Attachments
stacktrace (847 bytes, text/plain)
2014-12-22 17:38 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-12-22 17:38:49 UTC
This bug was originally marked as duplicate of bug 181611, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.71-b01, Java(TM) SE Runtime Environment, 1.7.0_71-b14
OS: Linux

User Comments:
GUEST: Trying to refactor name of Web Pages folder to 'webapp'.

dankata5000: when try to refactor/rename a symfony app module

GUEST: Refactor -> rename on a folder.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.jpa.refactoring.rename.PersistenceXmlPackageRename.prepare(PersistenceXmlPackageRename.java:110)
   at org.netbeans.modules.j2ee.jpa.refactoring.JPARefactoringPlugin.prepare(JPARefactoringPlugin.java:92)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:437)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:421)
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:232)
   at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:1040)
Comment 1 Exceptions Reporter 2014-12-22 17:38:51 UTC
Created attachment 151244 [details]
stacktrace
Comment 2 Petr Hejl 2015-07-14 13:16:16 UTC
Fixed in web-main 8a9e8d394b0d.
Comment 3 Quality Engineering 2015-07-15 01:20:07 UTC
Integrated into 'main-silver', will be available in build *201507150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8a9e8d394b0d
User: Petr Hejl <phejl@netbeans.org>
Log: #249491 - NullPointerException at org.netbeans.modules.j2ee.jpa.refactoring.rename.PersistenceXmlPackageRename.prepare