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

Summary: refactor null pointer crash
Product: javaee Reporter: chavener <chavener>
Component: RefactoringAssignee: Erno Mononen <emononen>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: jhorvath, pjiricka
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: messages log file

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 ***