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 213378 - NullPointerException at org.netbeans.modules.refactoring.java.plugins.MoveFileRefactoringPlugin.getTargetPackageName
Summary: NullPointerException at org.netbeans.modules.refactoring.java.plugins.MoveFil...
Status: RESOLVED DUPLICATE of bug 216312
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-01 09:55 UTC by rudyment
Modified: 2013-01-03 16:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 188798


Attachments
stacktrace (5.85 KB, text/plain)
2012-06-01 09:56 UTC, rudyment
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rudyment 2012-06-01 09:55:55 UTC
Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Windows 7

User Comments:
rudyment: The exception occurred when I wanted to rename a package, that I copyied just before it from another project.

All actioans were done in window Favorities.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.refactoring.java.plugins.MoveFileRefactoringPlugin.getTargetPackageName(MoveFileRefactoringPlugin.java:391)
   at org.netbeans.modules.refactoring.java.plugins.MoveTransformer.getTargetPackageName(MoveTransformer.java:256)
   at org.netbeans.modules.refactoring.java.plugins.MoveTransformer.visitIdentifier(MoveTransformer.java:188)
   at org.netbeans.modules.refactoring.java.plugins.MoveTransformer.visitIdentifier(MoveTransformer.java:68)
   at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1716)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67)
Comment 1 rudyment 2012-06-01 09:56:00 UTC
Created attachment 120192 [details]
stacktrace
Comment 2 Ralph Ruijs 2012-06-04 09:03:47 UTC
Thank you for the report, but I'm not able to reproduce. Could you provide the steps to reproduce?
Comment 3 Marian Mirilovic 2013-01-03 16:35:38 UTC

*** This bug has been marked as a duplicate of bug 216312 ***