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.
Summary: | NullPointerException at org.netbeans.modules.visualweb.insync.java.JavaClass$1.run(JavaClass.java:131) when doing refactor->rename on a .java file. | ||
---|---|---|---|
Product: | obsolete | Reporter: | tomsve <tomsve> |
Component: | visualweb | Assignee: | _ sandipchitale <sandipchitale> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
tomsve
2007-12-20 11:10:51 UTC
Can you please attach a sample Maven2 project with packaging of type "war" and a .java file that reproduces the exception? Or atleast instructions on how to set up such a project. It is easy to reproduce. All I did to duplicate the problem was: 1 - create a new maven project 2 - use the maven webapp archetype 3 - use the default com.mycompany 4 - right click on the empty package (com.mycompany) and create a new package with the default name. 5 - right click on the new class (NewClass.java), then click refactor -> rename. Boom, null pointer exception. See also: issue 31227 |