facebook

Unable to Debug the JSP with Jrun 4

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #216532 Reply

    bgk_murthy
    Member

    Get a Error Dialog saying

    An Error has Occured, See Error log for more Details

    In the Eclipse I found following stack trace:

    !ENTRY org.eclipse.core.runtime 4 2 Sep 29, 2004 11:26:16.92
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.core.runtime.Path.append(Path.java:152)
    at com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.ā(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourceElements(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourceElement(Unknown Source)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.lookupEditorInput(LaunchView.java:621)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.openEditorForStackFrame(LaunchView.java:688)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.showEditorForCurrentSelection(LaunchView.java:600)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.perspectiveActivated(LaunchView.java:532)
    at org.eclipse.ui.internal.PerspectiveListenerListOld$1.run(PerspectiveListenerListOld.java:44)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.ui.internal.PerspectiveListenerListOld.firePerspectiveActivated(PerspectiveListenerListOld.java:42)
    at org.eclipse.ui.internal.WorkbenchWindow.firePerspectiveActivated(WorkbenchWindow.java:816)
    at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2821)
    at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:743)
    at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage.java:728)
    at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:2961)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2959)
    at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:1512)
    at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager.switchToPerspective(PerspectiveManager.java:171)
    at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager$5.run(PerspectiveManager.java:312)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    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:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
    at org.eclipse.core.launcher.Main.run(Main.java:704)
    at org.eclipse.core.launcher.Main.main(Main.java:688)

    #216664

    Scott Anderson
    Participant

    Can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.

    #217116

    I have excaclty the same problem, here all information needed:

    Operating System: Windows XP SP 1

    Eclipse:
    Version: 3.0.1
    Build id: 200409161125
    freshly installed for MyEclipse
    WSS plugin
    pde plugins (8):

      org.eclipse.pde.build_3.0.1
      org.eclipse.pde.core_3.0.1
      org.eclipse.pde.doc.user_3.0.0
      org.eclipse.pde.junit.runtime_3.0.0
      org.eclipse.pde.runtime_3.0.1
      org.eclipse.pde.source_3.0.1
      org.eclipse.pde.ui_3.0.1
      org.eclipse.pde_3.0.1

    My Eclipse: Version 3.8.2

    JDK: 1.4.2_05 both for running Eclipse and to launch the application server

    Application Server: JRun 4.0 Update 3

    Problem: when debugging a JSP (by settung a breakpoint inside a JSP), when the application hints the breakpoint it is not able to debug it, a popup appear telling that an error occourred and I have to see the eclipse log (<workspace>/.metadata/.log).

    Exception in the log file:

    java.lang.NullPointerException
        at org.eclipse.core.runtime.Path.append(Path.java:152)
        at com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.�(Unknown Source)
        at com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourceElements(Unknown Source)
        at com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourceElement(Unknown Source)
        at org.eclipse.debug.internal.ui.views.launch.LaunchView.lookupEditorInput(LaunchView.java:621)
        at org.eclipse.debug.internal.ui.views.launch.LaunchView.openEditorForStackFrame(LaunchView.java:688)
        at org.eclipse.debug.internal.ui.views.launch.LaunchView.showEditorForCurrentSelection(LaunchView.java:600)
        at org.eclipse.debug.internal.ui.views.launch.LaunchView.perspectiveActivated(LaunchView.java:532)
        at org.eclipse.ui.internal.PerspectiveListenerListOld$1.run(PerspectiveListenerListOld.java:44)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
        at org.eclipse.core.runtime.Platform.run(Platform.java:747)
        at org.eclipse.ui.internal.PerspectiveListenerListOld.firePerspectiveActivated(PerspectiveListenerListOld.java:42)
        at org.eclipse.ui.internal.WorkbenchWindow.firePerspectiveActivated(WorkbenchWindow.java:816)
        at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2821)
        at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:743)
        at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage.java:728)
        at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:2961)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2959)
        at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:1512)
        at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager.switchToPerspective(PerspectiveManager.java:171)
        at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager$5.run(PerspectiveManager.java:312)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
        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.basicRun(Main.java:185)
        at org.eclipse.core.launcher.Main.run(Main.java:704)
        at org.eclipse.core.launcher.Main.main(Main.java:688)
    
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Unable to Debug the JSP with Jrun 4

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