facebook

Error using external JRE Ant with Eclipse 3.0M3 [Bug]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #199242 Reply

    myoungstrom
    Member

    System:
    Eclipse 3.0M3
    MyEclipse 3.6.2
    Windows XP.

    Description:
    When attempting to use the External JRE Ant feature in 3.0 M3 the Progress view appears with “ERROR: Launching Ant buildfile : Error”.

    Steps to duplicate:
    1. Make a fresh install of Eclipse 3.0 M3
    2. Make a simple build.xml script.
    3. Execute that build script using an “External JRE”.
    4. Everything will work fine.
    5. Install MyEclipse 3.6.2 onto that clean Eclipse 3.0 M3 installation.
    6. Attempt to execute ant build.xml script.
    7. Progress View will appear with a generic “Error” message.

    Mike

    #199243 Reply

    myoungstrom
    Member

    Correction:

    It appear that the ant target is still executed….however a “Progress” error appears and nothing is shown on the console output.

    #199245 Reply

    Scott Anderson
    Participant

    Mike,

    Would you check the log file and see what is in there? It’s located at <workspace>/.metadata/.log

    –Scott
    MyEclipse Support

    #199263 Reply

    myoungstrom
    Member

    Here is a copy of the log including the startup of eclipse and the last thing I did was attempt to execute an ant target using an external JRE.

    I don’t see any of your classes in there but it seems strange to me that it would work fine when MyEclipse is not installed.

    Mike

    !SESSION Oct 16, 2003 09:54:49.329 ———————————————
    java.version=1.4.2
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/java/eclipse3/
    !ENTRY org.eclipse.debug.core 4 2 Oct 16, 2003 09:54:49.329
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.debug.core”.
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoSuchMethodError: org.eclipse.debug.internal.core.RuntimeProcess.setStreamsProxy(Lorg/eclipse/debug/core/model/IStreamsProxy;)V)
    at org.eclipse.swt.SWT.error(SWT.java:2367)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:158)
    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:25)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:2505)
    at org.eclipse.debug.internal.ui.views.console.ConsoleDocumentManager.launchChanged(ConsoleDocumentManager.java:120)
    at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(LaunchManager.java:1303)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1016)
    at org.eclipse.core.runtime.Platform.run(Platform.java:420)
    at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(LaunchManager.java:1322)
    at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(LaunchManager.java:318)
    at org.eclipse.debug.core.Launch.fireChanged(Launch.java:397)
    at org.eclipse.debug.core.Launch.addProcess(Launch.java:360)
    at org.eclipse.debug.internal.core.RuntimeProcess.<init>(RuntimeProcess.java:102)
    at org.eclipse.debug.core.DebugPlugin.newProcess(DebugPlugin.java:491)
    at org.eclipse.jdt.internal.launching.StandardVMRunner.run(StandardVMRunner.java:241)
    at org.eclipse.jdt.internal.launching.JavaLocalApplicationLaunchConfigurationDelegate.launch(JavaLocalApplicationLaunchConfigurationDelegate.java:112)
    at org.eclipse.ant.ui.internal.launchConfigurations.AntLaunchDelegate.runInSeparateVM(AntLaunchDelegate.java:355)
    at org.eclipse.ant.ui.internal.launchConfigurations.AntLaunchDelegate.launch(AntLaunchDelegate.java:188)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:156)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:735)
    at org.eclipse.debug.ui.DebugUITools.buildAndLaunch(DebugUITools.java:550)
    at org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:499)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    !ENTRY org.eclipse.ui 4 4 Oct 16, 2003 09:54:49.360
    !MESSAGE Unhandled exception caught in event loop.
    !ENTRY org.eclipse.ui 4 0 Oct 16, 2003 09:54:49.360
    !MESSAGE Failed to execute runnable (java.lang.NoSuchMethodError: org.eclipse.debug.internal.core.RuntimeProcess.setStreamsProxy(Lorg/eclipse/debug/core/model/IStreamsProxy;)V)
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoSuchMethodError: org.eclipse.debug.internal.core.RuntimeProcess.setStreamsProxy(Lorg/eclipse/debug/core/model/IStreamsProxy;)V)
    at org.eclipse.swt.SWT.error(SWT.java:2367)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:105)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2165)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1882)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:136)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:261)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:357)
    at org.eclipse.debug.ui.DebugUITools.launch(DebugUITools.java:506)
    at org.eclipse.ant.ui.internal.launchConfigurations.AntLaunchShortcut.launch(AntLaunchShortcut.java:159)
    at org.eclipse.ant.ui.internal.views.actions.RunTargetAction.runTarget(RunTargetAction.java:86)
    at org.eclipse.ant.ui.internal.views.actions.RunTargetAction$1.runInUIThread(RunTargetAction.java:68)
    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:80)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:102)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2165)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1882)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2036)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:2019)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    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:295)
    at org.eclipse.core.launcher.Main.run(Main.java:751)
    at org.eclipse.core.launcher.Main.main(Main.java:587)
    !ENTRY org.eclipse.debug.core 4 120 Oct 16, 2003 09:54:49.375
    !MESSAGE An exception occurred during launch change notification.
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoSuchMethodError: org.eclipse.debug.internal.core.RuntimeProcess.setStreamsProxy(Lorg/eclipse/debug/core/model/IStreamsProxy;)V)
    at org.eclipse.swt.SWT.error(SWT.java:2367)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:158)
    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:25)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:2505)
    at org.eclipse.debug.internal.ui.views.console.ConsoleDocumentManager.launchChanged(ConsoleDocumentManager.java:120)
    at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.run(LaunchManager.java:1303)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1016)
    at org.eclipse.core.runtime.Platform.run(Platform.java:420)
    at org.eclipse.debug.internal.core.LaunchManager$LaunchNotifier.notify(LaunchManager.java:1322)
    at org.eclipse.debug.internal.core.LaunchManager.fireUpdate(LaunchManager.java:318)
    at org.eclipse.debug.core.Launch.fireChanged(Launch.java:397)
    at org.eclipse.debug.core.Launch.addProcess(Launch.java:360)
    at org.eclipse.debug.internal.core.RuntimeProcess.<init>(RuntimeProcess.java:102)
    at org.eclipse.debug.core.DebugPlugin.newProcess(DebugPlugin.java:491)
    at org.eclipse.jdt.internal.launching.StandardVMRunner.run(StandardVMRunner.java:241)
    at org.eclipse.jdt.internal.launching.JavaLocalApplicationLaunchConfigurationDelegate.launch(JavaLocalApplicationLaunchConfigurationDelegate.java:112)
    at org.eclipse.ant.ui.internal.launchConfigurations.AntLaunchDelegate.runInSeparateVM(AntLaunchDelegate.java:355)
    at org.eclipse.ant.ui.internal.launchConfigurations.AntLaunchDelegate.launch(AntLaunchDelegate.java:188)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:156)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:735)
    at org.eclipse.debug.ui.DebugUITools.buildAndLaunch(DebugUITools.java:550)
    at org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:499)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    !ENTRY org.eclipse.ui 4 4 Oct 16, 2003 09:54:49.391
    !MESSAGE
    *** Stack trace of contained exception ***
    !ENTRY org.eclipse.ui 4 0 Oct 16, 2003 09:54:49.391
    !MESSAGE org.eclipse.debug.internal.core.RuntimeProcess.setStreamsProxy(Lorg/eclipse/debug/core/model/IStreamsProxy;)V
    !STACK 0
    java.lang.NoSuchMethodError: org.eclipse.debug.internal.core.RuntimeProcess.setStreamsProxy(Lorg/eclipse/debug/core/model/IStreamsProxy;)V
    at org.eclipse.ant.ui.internal.launchConfigurations.AntConsoleColorProvider.connect(AntConsoleColorProvider.java:59)
    at org.eclipse.debug.internal.ui.views.console.ConsoleDocumentPartitioner.connect(ConsoleDocumentPartitioner.java:228)
    at org.eclipse.debug.internal.ui.views.console.ConsoleDocumentProvider.createDocument(ConsoleDocumentProvider.java:40)
    at org.eclipse.ui.texteditor.AbstractDocumentProvider.createElementInfo(AbstractDocumentProvider.java:238)
    at org.eclipse.ui.texteditor.AbstractDocumentProvider.connect(AbstractDocumentProvider.java:305)
    at org.eclipse.debug.internal.ui.views.console.ConsoleDocumentManager$2.run(ConsoleDocumentManager.java:128)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:102)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2165)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1882)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:136)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:261)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:357)
    at org.eclipse.debug.ui.DebugUITools.launch(DebugUITools.java:506)
    at org.eclipse.ant.ui.internal.launchConfigurations.AntLaunchShortcut.launch(AntLaunchShortcut.java:159)
    at org.eclipse.ant.ui.internal.views.actions.RunTargetAction.runTarget(RunTargetAction.java:86)
    at org.eclipse.ant.ui.internal.views.actions.RunTargetAction$1.runInUIThread(RunTargetAction.java:68)
    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:80)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:102)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2165)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1882)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2036)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:2019)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    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:295)
    at org.eclipse.core.launcher.Main.run(Main.java:751)
    at org.eclipse.core.launcher.Main.main(Main.java:587)

    #199271 Reply

    Scott Anderson
    Participant

    Mike,

    It’s a bug on our part. We ship mildly modified versions of the plugin in question with MyEclipse in order to enable JSP debugging. In the M3 release we left a new method out. I’ve logged it as an issue and it will definately be addressed in 3.6.3 for M4. Sorry for the inconvenience and thank you for bringing it to our attention.

    –Scott
    MyEclipse Support

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Error using external JRE Ant with Eclipse 3.0M3 [Bug]

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