facebook

Error Debugging JSP with M2

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #255748 Reply

    garthus
    Member

    I’m getting the following error when my breakpoint gets hit in my jsp:

    java.lang.NullPointerException
    at com.jniwrapper.win32.ie.ak.addStatusListener(SourceFile:59)
    at com.jniwrapper.win32.ie.ai.<init>(SourceFile:140)
    at com.jniwrapper.win32.ie.ai.<init>(SourceFile:93)
    at com.jniwrapper.win32.ie.ai.<init>(SourceFile:88)
    at com.jniwrapper.win32.ie.Browser.a(SourceFile:73)
    at com.jniwrapper.win32.ie.Browser.<init>(SourceFile:53)
    at com.jniwrapper.win32.ie.Browser.<init>(SourceFile:45)
    at com.genuitec.eclipse.webdesigner2.designeditor.MSHTMLViewer.createControl(MSHTMLViewer.java:307)
    at com.genuitec.eclipse.webdesigner2.designeditor.MSHTMLViewer.<init>(MSHTMLViewer.java:257)
    at com.genuitec.eclipse.webdesigner2.designeditor.MSHTMLViewer.<init>(MSHTMLViewer.java:229)
    at com.genuitec.eclipse.webdesigner2.designeditor.DesignEditSubsystem.createDesignViewer(DesignEditSubsystem.java:187)
    at com.genuitec.eclipse.webdesigner2.WebDesigner2.createDesignViewer(WebDesigner2.java:136)
    at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createDesignerControls(HTMLMultiPageEditorPart.java:512)
    at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createDesignPage(HTMLMultiPageEditorPart.java:488)
    at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:258)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2588)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2521)
    at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2513)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2498)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2493)
    at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility$1.run(SourceLookupFacility.java:369)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
    at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.openEditor(SourceLookupFacility.java:379)
    at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.openEditor(SourceLookupFacility.java:288)
    at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.display(SourceLookupFacility.java:218)
    at org.eclipse.debug.ui.DebugUITools.displaySource(DebugUITools.java:696)
    at org.eclipse.debug.internal.ui.elements.adapters.StackFrameSourceDisplayAdapter$SourceDisplayJob.runInUIThread(StackFrameSourceDisplayAdapter.java:143)
    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)


    It looks like the ide is trying to open the jsp file in a new tab although i already have it opened in a tab. The default Open method for this jsp is “MyEclipse JSP Editor”.

    The instance of Eclipse was started with the -clean option.

    My Installation Summary:
    *** Date: Fri Jul 28 12:36:07 EDT 2006

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

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.0 Milestone 2
    Build id: 20060703-5.0-M2

    *** Eclipse details:
    Eclipse SDK

    Version: 3.2.0
    Build id: M20060629-1905

    Eclipse Platform

    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905

    Eclipse RCP

    Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
    Build id: M20060629-1905

    Eclipse Java Development Tools

    Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
    Build id: M20060629-1905

    Eclipse Plug-in Development Environment

    Version: 3.2.0.v20060609m——6zXJJzJzJq
    Build id: M20060629-1905

    Eclipse Project SDK

    Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
    Build id: M20060629-1905

    Eclipse Graphical Editing Framework

    Version: 3.2.0.v20060626
    Build id: 20060627-0816

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\dvltools\java\eclipse\eclipse_320\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    900_80
    -clean
    -vm
    C:\dvltools\java\jdk1.5.0_07\bin\javaw.exe

    #255779 Reply

    Riyad Kalla
    Member

    This is actually a known problem with the visual designer, the break point isn’t the problem, it’s trying to open the designer and failing. tThis issue should be corrected in the 5.0 GA release of MyEclipse as we will be including our all new cross platform visual designer. It is planned for the August 6th release, sorry for the inconvenience.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Error Debugging JSP with M2

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