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 216951 - ClassCastException: org.netbeans.spi.debugger.DebuggerEngineProvider$ContextAware cannot be cast to org.netbeans.modules.web.javascript.debugger.DebuggerEngineProviderImpl
Summary: ClassCastException: org.netbeans.spi.debugger.DebuggerEngineProvider$ContextA...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-16 07:49 UTC by Exceptions Reporter
Modified: 2012-09-03 12:56 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191588


Attachments
stacktrace (1.82 KB, text/plain)
2012-08-16 07:49 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-08-16 07:49:20 UTC
This issue was reported manually by pjiricka.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build EaselCSS-504-on-20120815)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b24
OS: Mac OS X

User Comments:
GUEST: Running a page in Chrome.




Stacktrace: 
java.lang.ClassCastException: org.netbeans.spi.debugger.DebuggerEngineProvider$ContextAware cannot be cast to org.netbeans.modules.web.javascript.debugger.DebuggerEngineProviderImpl
   at org.netbeans.modules.web.javascript.debugger.browser.NetBeansJavaScriptDebuggerFactoryImpl.stopDebuggingSession(NetBeansJavaScriptDebuggerFactoryImpl.java:76)
   at org.netbeans.modules.extbrowser.plugins.ExternalBrowserPlugin$BrowserTabDescriptor.deinitialize(ExternalBrowserPlugin.java:699)
   at org.netbeans.modules.extbrowser.plugins.ExternalBrowserPlugin$BrowserTabDescriptor.access$400(ExternalBrowserPlugin.java:578)
   at org.netbeans.modules.extbrowser.plugins.ExternalBrowserPlugin$BrowserPluginHandler.handleClose(ExternalBrowserPlugin.java:360)
   at org.netbeans.modules.extbrowser.plugins.ExternalBrowserPlugin$BrowserPluginHandler.read(ExternalBrowserPlugin.java:246)
   at org.netbeans.modules.netserver.websocket.WebSocketHandler7.readDelegate(WebSocketHandler7.java:118)
Comment 1 Exceptions Reporter 2012-08-16 07:49:22 UTC
Created attachment 123183 [details]
stacktrace
Comment 2 Petr Jiricka 2012-08-16 11:10:29 UTC
After this exception happens, Chrome deployment is completely broken for me and the only way to make it work is to restart the IDE -> P1.
Comment 3 Martin Entlicher 2012-08-16 11:50:28 UTC
Probably caused by http://hg.netbeans.org/web-main/rev/cb4b149e87f2
Comment 4 Martin Entlicher 2012-08-16 13:21:35 UTC
Fixed by changeset:   230184:ed36c3a6f051
http://hg.netbeans.org/web-main/rev/ed36c3a6f051
Comment 5 Quality Engineering 2012-09-03 12:56:35 UTC
Integrated into 'main-golden', will be available in build *201209031048* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ed36c3a6f051
User: mentlicher@netbeans.org
Log: #216951: EngineDestructorProvider created to pass the engine destructor, after DebuggerEngineProviderImpl is masked behind ContextAware delegate class.