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 - NPE upon Move Classes
Summary: NPE upon Move Classes
Status: VERIFIED DUPLICATE of bug 127291
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: _ potingwu
URL:
Keywords:
Depends on: 130863
Blocks:
  Show dependency tree
 
Reported: 2008-03-23 15:33 UTC by jlaskowski
Modified: 2008-05-13 16:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.