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 269758

Summary: NullPointerException at org.netbeans.modules.web.refactoring.RefactoringUtil.getPackageName
Product: web Reporter: alied <alied>
Component: RefactoringAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227954
Attachments: stacktrace

Description alied 2017-02-06 13:21:44 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: Linux

User Comments:
alied: moving a package protected class to inside a public class in the same package. Not sure if there's anything else at play here...

   at org.netbeans.modules.web.refactoring.RefactoringUtil.getPackageName(
   at org.netbeans.modules.web.refactoring.rename.WebXmlMove.getRenameItems(
   at org.netbeans.modules.web.refactoring.rename.BaseWebXmlRename.prepare(
   at org.netbeans.modules.web.refactoring.WebRefactoringPlugin.prepare(
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(
   at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(
Comment 1 alied 2017-02-06 13:21:46 UTC
Created attachment 163579 [details]