facebook

Cannot debug Javascript Mario Example

  1. MyEclipse Archived
  2.  > 
  3. Web 2.0 / AJAX
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #248243 Reply

    david.mead
    Member

    I am evaluating ME for use developing Javascript web applications. I cannot set breakpoints or launch the debugger on your sample JS_Mario application. I have a fresh install of Eclipse 3.1.2 on a new machine, MyEclipse 4.1.1GA, JDK 5 release 6. I have imported the project, and it works in preview pane of the HTML Designer. I have read and followed the instructions in “MyEclipse JavaScript Development and Debugging Quickstart”. The error log shows an “exception while adding breakpoint” when I try to add a breakpoint using either the context menu or when double-clicking in the margin. When I try to run the application in the debugger, I get a NullPointerException and an unhandled event loop exception.

    Please tell me what I’ve done wrong.

    Here’s the data you ask for in your posting guidelines:

    *** Date: Fri Mar 10 07:04:15 GMT 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.1 GA
    Build id: 20060228-4.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Platform

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse RCP

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Java Development Tools

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Plug-in Development Environment

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Project SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    fe4_60
    -vm
    C:\WINDOWS\system32\javaw.exe

    —————————————————————————————————————————-
    ERROR LOG:

    !ENTRY com.ibm.sse.editor 4 4 2006-03-10 05:57:32.734
    !MESSAGE exception while adding breakpoint
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.core.C.ĉ(Unknown Source)
    at com.genuitec.eclipse.core.C.Č(Unknown Source)
    at com.genuitec.eclipse.core.C.Ä?(Unknown Source)
    at com.genuitec.eclipse.core.C.Ä?(Unknown Source)
    at com.genuitec.eclipse.core.ViperCore.Ä‚(Unknown Source)
    at com.genuitec.eclipse.core.ViperCore.isLicenseValidPro(Unknown Source)
    at com.genuitec.eclipse.core.vU.Ä‚(Unknown Source)
    at com.genuitec.eclipse.core.vU.AP__111164asdfae2342fa(Unknown Source)
    at com.genuitec.javascript.debug.model.JSLineBreakpoint.<init>(JSLineBreakpoint.java:44)
    at com.genuitec.javascript.debug.editor.JavaScriptBreakpointProvider.addBreakpoint(JavaScriptBreakpointProvider.java:27)
    at com.ibm.sse.editor.internal.debug.ToggleBreakpointAction.createBreakpoints(ToggleBreakpointAction.java:87)
    at com.ibm.sse.editor.internal.debug.ToggleBreakpointAction.run(ToggleBreakpointAction.java:132)
    at org.eclipse.ui.texteditor.AbstractTextEditor$12.triggerAction(AbstractTextEditor.java:2238)
    at org.eclipse.ui.texteditor.AbstractTextEditor$12.mouseDoubleClick(AbstractTextEditor.java:2252)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:141)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    !ENTRY org.eclipse.ui 4 4 2006-03-10 05:59:02.890
    !MESSAGE Unhandled event loop exception

    !ENTRY org.eclipse.ui 4 0 2006-03-10 05:59:02.890
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.core.C.ĉ(Unknown Source)
    at com.genuitec.eclipse.core.C.Č(Unknown Source)
    at com.genuitec.eclipse.core.C.Ä?(Unknown Source)
    at com.genuitec.eclipse.core.C.Ä?(Unknown Source)
    at com.genuitec.eclipse.core.ViperCore.Ä‚(Unknown Source)
    at com.genuitec.eclipse.core.ViperCore.isLicenseValidPro(Unknown Source)
    at com.genuitec.eclipse.core.vU.Ä‚(Unknown Source)
    at com.genuitec.eclipse.core.vU.AP__111164asdfae2342fa(Unknown Source)
    at com.genuitec.javascript.debug.launching.ui.JSLaunchShortcut.launch(JSLaunchShortcut.java:73)
    at com.genuitec.javascript.debug.launching.ui.JSLaunchShortcut.launch(JSLaunchShortcut.java:266)
    at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:362)
    at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:63)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    #248284 Reply

    Riyad Kalla
    Member

    This is a known bug that got by QA for 4.1.1, please email subscriptions@genuitec.com with a description of your problem: “Using MyEclipse trial and cannot use any Pro features” they will issue you a new trial key.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Cannot debug Javascript Mario Example

You must be logged in to post in the forum log in