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 241771

Summary: NullPointerException at org.netbeans.modules.navigator.NavigatorController.getCurrentFileObject
Product: platform Reporter: Exceptions Reporter <exceptions_reporter>
Component: NavigatorAssignee: Jan Peska <JPESKA>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aberdyugin, helkav, JMartinWard, peppertech, RobertJohnson
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 206637
Attachments: stacktrace
stacktrace

Description Exceptions Reporter 2014-02-12 14:04:41 UTC
Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18
OS: Windows 7

User Comments:
aberdyugin: Close project

GUEST: close php project

JMartinWard: Closing two projects: closed a C++ project, then closed a Java project (ColorfulCircles) that was open at the same time.

peppertech: closed project while initial startup background scanning was in progress

GUEST: Got this when I closed a project

RobertJohnson: Opened a large project which uses SVN.
Prompted to upgrade, so I clicked OK.
Error message appeared saying I should manually upgrade.
Closed project, and the exception being reported here occurred.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.navigator.NavigatorController.getCurrentFileObject(NavigatorController.java:830)
   at org.netbeans.modules.navigator.NavigatorController.findMimeForContext(NavigatorController.java:805)
   at org.netbeans.modules.navigator.NavigatorController.access$300(NavigatorController.java:101)
   at org.netbeans.modules.navigator.NavigatorController$1.run(NavigatorController.java:415)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 1 Exceptions Reporter 2014-02-12 14:04:43 UTC
Created attachment 145094 [details]
stacktrace
Comment 2 Exceptions Reporter 2014-02-14 13:07:29 UTC
Created attachment 145200 [details]
stacktrace

during closing a PHP project
Comment 3 Jan Peska 2014-07-08 12:31:58 UTC

*** This bug has been marked as a duplicate of bug 240991 ***