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 243983 - NullPointerException at org.netbeans.modules.extbrowser.UnixBrowserImpl.loadURLInBrowserInternal
Summary: NullPointerException at org.netbeans.modules.extbrowser.UnixBrowserImpl.loadU...
Status: RESOLVED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-22 06:41 UTC by ehsun7b
Modified: 2015-03-18 15:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 209200


Attachments
stacktrace (379 bytes, text/plain)
2014-04-22 06:41 UTC, ehsun7b
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehsun7b 2014-04-22 06:41:55 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
ehsun7b: During an EJB application run on Glassfish 4.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.extbrowser.UnixBrowserImpl.loadURLInBrowserInternal(UnixBrowserImpl.java:162)
   at org.netbeans.modules.extbrowser.ExtBrowserImpl$1.run(ExtBrowserImpl.java:166)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Comment 1 ehsun7b 2014-04-22 06:41:57 UTC
Created attachment 146875 [details]
stacktrace
Comment 2 Jan Stola 2015-03-18 15:10:04 UTC
The exception is throw on the line

sd.setStatusText (NbBundle.getMessage (UnixBrowserImpl.class, "MSG_Running_command", cmd.getProcessName ()));

where

StatusDisplayer sd = StatusDisplayer.getDefault ();
NbProcessDescriptor cmd = extBrowserFactory.getBrowserExecutable ();

So, it seems that cmd is null. Unfortunately, it is not clear from the stack-trace why cmd is null and what extBrowserFactory produced it which makes tracking of the root of this issue close to impossible.

I am closing this issue as not reproducible. Feel free to reopen it if you are still able to reproduce it but do not forget to provide more details then (exact steps to reproduce would be ideal).