mercuryyjs / chromedevtools

Automatically exported from code.google.com/p/chromedevtools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Eclipse Debugger: NullPointerException when connecting debugger #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
SDK/Debugger version:  0.3.4.201202250214
Eclipse version: Indigo Service Release 2
Google Chrome/V8 Embedder + version: Chrome 18.0.1025.151 (or Chromium 
17.0.963.79 (Developer Build 125985 Linux) Ubuntu 10.10)
[For WebKit (WIP) protocol] Backend version: 1.0
OS + version: Ubuntu 10.10

What steps will reproduce the problem?
1. open debugger configurations
2. create new WebKit Protocol configuration
3. select Wip backed, Protocol 1.0
4. otherwise leave defaults
5. start chrome with /opt/google/chrome/chrome --remote-debugging-port=9222
6. hit Debug

What is the expected result?
debugger attached

What happens instead?
Problem Occured alert (An internal error occured)

Please provide any additional information below. If possible, attach a
(reduced) test-case.

In error log, I see:
java.lang.NullPointerException
    at org.chromium.sdk.internal.wip.WipBackendImpl.readHttpResponseContent(WipBackendImpl.java:182)
    at org.chromium.sdk.internal.wip.WipBackendImpl.getTabs(WipBackendImpl.java:53)
    at org.chromium.sdk.internal.wip.WipBrowserImpl.getTabs(WipBrowserImpl.java:33)
    at org.chromium.debug.ui.DialogBasedTabSelector$Wip.getTabs(DialogBasedTabSelector.java:116)
    at org.chromium.debug.ui.DialogBasedTabSelector$Wip.getTabs(DialogBasedTabSelector.java:1)
    at org.chromium.debug.ui.DialogBasedTabSelector$Base.selectTab(DialogBasedTabSelector.java:37)
    at org.chromium.debug.ui.DialogBasedTabSelector$Wip.selectTab(DialogBasedTabSelector.java:1)
    at org.chromium.debug.core.model.JavascriptVmEmbedderFactory$4.selectVm(JavascriptVmEmbedderFactory.java:126)
    at org.chromium.debug.core.model.DebugTargetImpl.attach(DebugTargetImpl.java:56)
    at org.chromium.debug.ui.launcher.LaunchTypeBase.launch(LaunchTypeBase.java:88)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

eclipse.buildId=M20120208-0800
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product 
org.eclipse.epp.package.jee.product

Original issue reported on code.google.com by lu...@fryc.eu on 6 Apr 2012 at 9:48

GoogleCodeExporter commented 8 years ago
See http://code.google.com/p/chromedevtools/issues/detail?id=62

Original comment by peter.ry...@gmail.com on 6 Apr 2012 at 10:05