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 189871 - NullPointerException at org.netbeans.modules.refactoring.java.plugins.MoveRefactoringPlugin.getTargetPackageName
Summary: NullPointerException at org.netbeans.modules.refactoring.java.plugins.MoveRef...
Status: RESOLVED DUPLICATE of bug 177707
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-26 06:21 UTC by J Bachorik
Modified: 2010-10-11 07:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 172160


Attachments
stacktrace (3.51 KB, text/plain)
2010-08-26 06:21 UTC, J Bachorik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description J Bachorik 2010-08-26 06:21:16 UTC
This bug was originally marked as duplicate of bug 177707, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.9.1 (Build 201007282301)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06
OS: Linux

User Comments:
yardus: renaming a package

GUEST: refactoring an just refactored package




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.refactoring.java.plugins.MoveRefactoringPlugin.getTargetPackageName(MoveRefactoringPlugin.java:380)
   at org.netbeans.modules.refactoring.java.plugins.MoveTransformer.getTargetPackageName(MoveTransformer.java:206)
   at org.netbeans.modules.refactoring.java.plugins.MoveTransformer.visitImport(MoveTransformer.java:360)
   at org.netbeans.modules.refactoring.java.plugins.MoveTransformer.visitImport(MoveTransformer.java:71)
   at com.sun.tools.javac.tree.JCTree$JCImport.accept(JCTree.java:512)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67)
Comment 1 J Bachorik 2010-08-26 06:21:21 UTC
Created attachment 101670 [details]
stacktrace
Comment 2 Jan Becicka 2010-10-11 07:03:06 UTC

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