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 - NullPointerException at org.netbeans.modules.web.refactoring.RefactoringUtil.getPackageName
Summary: NullPointerException at org.netbeans.modules.web.refactoring.RefactoringUtil....
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2017-02-06 13:21 UTC by alied
Modified: 2017-02-06 13:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 227954

stacktrace (1.13 KB, text/plain)
2017-02-06 13:21 UTC, alied

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