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 131556 - refactor null pointer crash
Summary: refactor null pointer crash
Status: RESOLVED DUPLICATE of bug 121984
Alias: None
Product: javaee
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-30 21:12 UTC by chavener
Modified: 2008-04-02 07:57 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages log file (92.98 KB, text/plain)
2008-03-30 21:13 UTC, chavener
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chavener 2008-03-30 21:12:25 UTC
tried to change the name of a static map in a java servlet. Log shows:
SEVERE [global]
java.lang.NullPointerException
	at org.netbeans.modules.web.refactoring.WebXmlRefactoring.getServlets(WebXmlRefactoring.java:75)
	at org.netbeans.modules.web.refactoring.rename.BaseWebXmlRename.prepare(BaseWebXmlRename.java:73)
	at org.netbeans.modules.web.refactoring.WebRefactoringPlugin.prepare(WebRefactoringPlugin.java:71)
[catch] 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:760)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 chavener 2008-03-30 21:13:55 UTC
Created attachment 59368 [details]
messages log file
Comment 2 Peter Pis 2008-04-01 09:23:09 UTC
Reassigning to "web" for evaluation.
Comment 3 Petr Jiricka 2008-04-01 19:15:47 UTC
Hi Erno, can you please look at this? Thanks.
Comment 4 Erno Mononen 2008-04-02 07:57:10 UTC
Another duplicate of issue 121984, fixed in 6.1. I've asked the fix to be included in the next patch for 6.0, but don't 
see anything in the status whiteboard of the issue - Honzo, what's the status for that? 

*** This issue has been marked as a duplicate of 121984 ***