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 130864

Summary: NPE upon Move Classes
Product: javaee Reporter: jlaskowski <jlaskowski>
Component: JSFAssignee: _ potingwu <potingwu>
Status: VERIFIED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 130863    
Bug Blocks:    

Description jlaskowski 2008-03-23 15:33:24 UTC
1/ Used JSF Pages from Entity Class wizard with the specified package of mine
2/ The generated classes ended up in a wrong package (reported as an issue - 130863).
3/ When I moved the classes to a new directory corresponding what I had specified the first time, I faced:

java.lang.NullPointerException
	at org.netbeans.modules.web.jsf.refactoring.JSFMoveClassPlugin.prepare(JSFMoveClassPlugin.java:161)
	at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:380)
	at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:202)
	at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:765)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 _ potingwu 2008-03-23 19:12:03 UTC
If the project structure is broken by issue#130863, further actions may be affected. I.e., when you did the 3rd step,
your project is already broken. The refactoring cannot continue to work properly.

Comment 2 _ potingwu 2008-03-24 23:42:18 UTC

*** This issue has been marked as a duplicate of 127291 ***
Comment 3 Dan Kolar 2008-05-13 16:34:01 UTC
v.