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 149864 - NullPointerException at com.sun.tools.javac.util.Name.fromString
Summary: NullPointerException at com.sun.tools.javac.util.Name.fromString
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-11 14:27 UTC by Trey Spiva
Modified: 2009-11-02 11:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 114262


Attachments
stacktrace (1.71 KB, text/plain)
2008-10-11 14:27 UTC, Trey Spiva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Trey Spiva 2008-10-11 14:27:37 UTC
Build: NetBeans IDE Dev (Build 200810080201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.5, i386

User Comments:
tspiva: I copied a file in the project explorer and then pasted the file under a folder.=

tspiva: I copied a file in the project explorer and then pasted the file under a folder.=



Stacktrace: 
java.lang.NullPointerException
        at com.sun.tools.javac.util.Name.fromString(Name.java:165)
        at com.sun.tools.javac.util.Name$Table.fromString(Name.java:553)
        at org.netbeans.modules.java.source.builder.TreeFactory.Identifier(TreeFactory.java:330)
        at org.netbeans.api.java.source.TreeMaker.Identifier(TreeMaker.java:487)
        at org.netbeans.modules.refactoring.java.CopyHandler$1.run(CopyHandler.java:94)
        at org.netbeans.modules.refactoring.java.CopyHandler$1.run(CopyHandler.java:89)
Comment 1 Trey Spiva 2008-10-11 14:27:46 UTC
Created attachment 71609 [details]
stacktrace
Comment 2 Dusan Balek 2008-10-13 09:29:51 UTC
Refactoring should not pass null to TreeMaker.Identifier(...).
Comment 3 David Strupl 2009-03-31 15:55:02 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 4 Quality Engineering 2009-11-02 11:13:26 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX