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 216312 - NullPointerException at org.netbeans.modules.refactoring.java.plugins.MoveFileRefactoringPlugin.getTargetPackageName
Summary: NullPointerException at org.netbeans.modules.refactoring.java.plugins.MoveFil...
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
: 213378 222577 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-02 09:52 UTC by FrantaM
Modified: 2016-07-07 07:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191237


Attachments
stacktrace (4.62 KB, text/plain)
2012-08-02 09:52 UTC, FrantaM
Details
stacktrace (4.76 KB, text/plain)
2013-12-16 12:40 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description FrantaM 2012-08-02 09:52:16 UTC
This bug was originally marked as duplicate of bug 213378, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201207220002)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Linux

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:1714)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67)
Comment 1 FrantaM 2012-08-02 09:52:18 UTC
Created attachment 122670 [details]
stacktrace
Comment 2 Ralph Ruijs 2012-11-22 11:31:57 UTC
*** Bug 222577 has been marked as a duplicate of this bug. ***
Comment 3 Marian Mirilovic 2013-01-03 16:35:38 UTC
*** Bug 213378 has been marked as a duplicate of this bug. ***
Comment 4 muellermi 2013-12-16 12:40:04 UTC
Created attachment 143211 [details]
stacktrace

Renaming package (F2 in contend tree)
Comment 5 Exceptions Reporter 2013-12-16 12:40:09 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=191237
Comment 6 Martin Balin 2016-07-07 07:18:07 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss