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 224896 - NullPointerException at org.netbeans.modules.netserver.websocket.WebSocketServerImpl.getContext
Summary: NullPointerException at org.netbeans.modules.netserver.websocket.WebSocketSer...
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Internal Server (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-15 08:23 UTC by bhudha
Modified: 2015-04-22 09:15 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194391


Attachments
stacktrace (2.16 KB, text/plain)
2013-01-15 08:23 UTC, bhudha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bhudha 2013-01-15 08:23:05 UTC
Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows 7

User Comments:
GUEST: Starting html5 project using chrome plugin. Windows XP 64 bit using 32bit jdk 7u10 and chrome 32 bit.

GUEST: running html 5 applicatiion

GUEST: Just installed the ide, opening an html page I've been working on

GUEST: created a new HTML5 project and presd the run button

AlgodooJavaHead: trying to load a simple webpage from Netbeans

GUEST: clicked on 'Run index.html' and when I saw nothing, I exited, then boom, error.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.netserver.websocket.WebSocketServerImpl.getContext(WebSocketServerImpl.java:135)
   at org.netbeans.modules.netserver.websocket.WebSocketServerImpl.getHandler(WebSocketServerImpl.java:143)
   at org.netbeans.modules.netserver.websocket.WebSocketServerImpl.sendMessage(WebSocketServerImpl.java:93)
   at org.netbeans.modules.netserver.api.WebSocketServer.sendMessage(WebSocketServer.java:75)
   at org.netbeans.modules.extbrowser.plugins.ExternalBrowserPlugin$2.run(ExternalBrowserPlugin.java:142)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
Comment 1 bhudha 2013-01-15 08:23:07 UTC
Created attachment 130224 [details]
stacktrace
Comment 2 David Konecny 2013-08-19 23:39:59 UTC
204dba03358c
Comment 3 Quality Engineering 2013-08-21 02:43:48 UTC
Integrated into 'main-silver', will be available in build *201308202300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/204dba03358c
User: David Konecny <dkonecny@netbeans.org>
Log: #224896 - NullPointerException at org.netbeans.modules.netserver.websocket.WebSocketServerImpl.getContext
Comment 4 Petr Hejl 2015-04-22 09:15:34 UTC
This seems to be already resolved.