an internal error occurred during: "create remote VM for Visual Editor for Java" [message #166251] |
Thu, 17 August 2006 22:00 |
Eclipse User |
|
|
|
Originally posted by: gary.extremeground.com
A search of the Internet shows the above error could be related to
incompatible versions - but the versions I installed match the ones
listed in the VE FAQ - or an out of memory error, which also seems unlikely.
This is yet another clean install and I still can't VE to work. And I
can get Visual Classes only after doing a reset perspective. This time I
got the above error when I created a visual class. After clicking OK to
clear the error message, I still can't open the palette.
If I shut down and restart, the VE load stalls forever at 75%.
If I remove the project and start again, I can recreate the project but
then the VE again stalls at 75% loading. The VE never comes up.
Any ideas anyone?
|
|
|
Re: an internal error occurred during: "create remote VM for Visual Editor for Java" [message #166365 is a reply to message #166251] |
Fri, 18 August 2006 17:41 |
Eclipse User |
|
|
|
Originally posted by: jefmyers.us.ibm.com
Gary,
Take a look at the .log file in your workspace's .metadata directory.
Are there any errors there that sound suspicious?
- Jeff
Gary Dale wrote:
> A search of the Internet shows the above error could be related to
> incompatible versions - but the versions I installed match the ones
> listed in the VE FAQ - or an out of memory error, which also seems
> unlikely.
>
> This is yet another clean install and I still can't VE to work. And I
> can get Visual Classes only after doing a reset perspective. This time I
> got the above error when I created a visual class. After clicking OK to
> clear the error message, I still can't open the palette.
>
> If I shut down and restart, the VE load stalls forever at 75%.
>
> If I remove the project and start again, I can recreate the project but
> then the VE again stalls at 75% loading. The VE never comes up.
>
> Any ideas anyone?
|
|
|
Re: an internal error occurred during: "create remote VM for Visual Editor for Java" [message #166373 is a reply to message #166365] |
Fri, 18 August 2006 21:48 |
Eclipse User |
|
|
|
Originally posted by: gary.extremeground.com
Jeff Myers wrote:
> Gary,
>
> Take a look at the .log file in your workspace's .metadata directory.
> Are there any errors there that sound suspicious?
>
> - Jeff
Here's the full log. The first entry at 17:19:10 is something about
XLib. 4 seconds later comes the error which actually shows up. While
it's not quite Greek to me, I don't see anything that triggers an "Aha"
moment. :)
!SESSION 2006-08-17 16:54:34.263
-----------------------------------------------
eclipse.buildId=M20060118-1600
java.fullversion=GNU libgcj 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.jem.proxy 2 0 2006-08-17 17:19:10.478
!MESSAGE
+++ Warning +++: Thu Aug 17 17:19:10 EDT 2006 Project (P2W)-VM for
P2W:err>
Xlib: unexpected async reply (sequence 0x4c)!
!ENTRY org.eclipse.core.runtime 4 2 2006-08-17 17:19:14.352
!MESSAGE An internal error occurred during: "Create Remote VM for Visual
Editor for Java".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.jem.internal.proxy.core.ProxyLaunchSupport.fillI nLaunchInfo(ProxyLaunchSupport.java:572)
at
org.eclipse.jem.internal.proxy.core.ProxyLaunchSupport.start Implementation(ProxyLaunchSupport.java:396)
at
org.eclipse.jem.internal.proxy.core.ProxyLaunchSupport.start Implementation(ProxyLaunchSupport.java:304)
at
org.eclipse.jem.internal.proxy.core.ProxyLaunchSupport.start Implementation(ProxyLaunchSupport.java:236)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorVMController$CreateRegistry.run(JavaVisualEditorVMContro ller.java:184)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
!ENTRY org.eclipse.jem.proxy 2 0 2006-08-17 17:20:09.480
!MESSAGE
!STACK 0
java.net.SocketTimeoutException: Read timed out
at java.io.BufferedInputStream.refill(libgcj.so.7)
at java.io.BufferedInputStream.read(libgcj.so.7)
at java.io.DataInputStream.readByte(libgcj.so.7)
at
org.eclipse.jem.internal.proxy.common.remote.Commands.readBa ckValue(Commands.java:1243)
at
org.eclipse.jem.internal.proxy.common.remote.Commands.sendIn vokeMethodCommand(Commands.java:1403)
at
org.eclipse.jem.internal.proxy.remote.REMConnection.invokeMe thod(REMConnection.java:209)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invoke( REMMethodProxy.java:219)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invokeW ithParms(REMMethodProxy.java:190)
at
org.eclipse.jem.internal.proxy.remote.REMConstructorProxy.ne wInstance(REMConstructorProxy.java:61)
at
org.eclipse.jem.internal.proxy.swt.JavaStandardSWTBeanConsta nts.getEnvironmentProxy(JavaStandardSWTBeanConstants.java:13 3)
at
org.eclipse.jem.internal.proxy.swt.JavaStandardSWTBeanConsta nts.getDisplayProxy(JavaStandardSWTBeanConstants.java:143)
at
org.eclipse.ve.internal.swt.UIThreadOnlyProxyAdapter.onUIThr ead(UIThreadOnlyProxyAdapter.java:119)
at
org.eclipse.ve.internal.swt.UIThreadOnlyProxyAdapter.instant iateAndInitialize(UIThreadOnlyProxyAdapter.java:125)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:330)
at
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itSetting(CompositionProxyAdapter.java:374)
at
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:279)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1993)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
!ENTRY org.eclipse.jem.proxy 2 0 2006-08-17 17:20:09.622
!MESSAGE
!STACK 0
IWAV0073I *** RemoteVM Exception - Trace from Remote VM:
java.lang.NullPointerException
at java.lang.reflect.Method.invoke(libgcj.so.7)
at
org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un(ConnectionHandler.java:317)
at
org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n(ConnectionThread.java:47)
IWAV0074I *** Local StackTrace:
org.eclipse.jem.internal.proxy.remote.REMThrowableBeanProxyP roxy:
java.lang.NullPointerException
at
org.eclipse.jem.internal.proxy.remote.REMThrowableBeanTypePr oxy.createThrowableBeanProxy(REMThrowableBeanTypeProxy.java: 34)
at
org.eclipse.jem.internal.proxy.remote.REMThrowableBeanTypePr oxy.newBeanProxy(REMThrowableBeanTypeProxy.java:65)
at
org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.getBeanProxy(REMStandardBeanProxyFactory.java:459)
at
org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.processErrorReturn(REMStandardBeanProxyFactory.java:51 0)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invoke( REMMethodProxy.java:223)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invokeW ithParms(REMMethodProxy.java:179)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invoke( REMMethodProxy.java:102)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invoke( REMMethodProxy.java:98)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invokeC atchThrowableExceptions(REMMethodProxy.java:231)
at
org.eclipse.jem.internal.proxy.swt.JavaStandardSWTBeanConsta nts.getDisplayProxy(JavaStandardSWTBeanConstants.java:143)
at
org.eclipse.ve.internal.swt.UIThreadOnlyProxyAdapter.onUIThr ead(UIThreadOnlyProxyAdapter.java:119)
at
org.eclipse.ve.internal.swt.UIThreadOnlyProxyAdapter.instant iateAndInitialize(UIThreadOnlyProxyAdapter.java:125)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:330)
at
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itSetting(CompositionProxyAdapter.java:374)
at
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:279)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1993)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
!ENTRY org.eclipse.jem.proxy 2 0 2006-08-17 17:21:10.60
!MESSAGE
!STACK 0
java.net.SocketTimeoutException: Read timed out
at java.io.BufferedInputStream.refill(libgcj.so.7)
at java.io.BufferedInputStream.read(libgcj.so.7)
at java.io.DataInputStream.readByte(libgcj.so.7)
at
org.eclipse.jem.internal.proxy.common.remote.Commands.readBa ckValue(Commands.java:1243)
at
org.eclipse.jem.internal.proxy.common.remote.Commands.sendIn vokeMethodCommand(Commands.java:1403)
at
org.eclipse.jem.internal.proxy.remote.REMConnection.invokeMe thod(REMConnection.java:209)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invoke( REMMethodProxy.java:219)
at
org.eclipse.jem.internal.proxy.remote.REMMethodProxy.invokeW ithParms(REMMethodProxy.java:190)
at
org.eclipse.jem.internal.proxy.remote.REMConstructorProxy.ne wInstance(REMConstructorProxy.java:61)
at
org.eclipse.jem.internal.proxy.swt.JavaStandardSWTBeanConsta nts.getEnvironmentProxy(JavaStandardSWTBeanConstants.java:13 3)
at
org.eclipse.ve.internal.swt.BeanSWTUtilities.getOffScreenLoc ation(BeanSWTUtilities.java:749)
at
org.eclipse.ve.internal.swt.FreeFormComponentsHost$FreeFormC omponentProxy.create(FreeFormComponentsHost.java:48)
at
org.eclipse.ve.internal.swt.FreeFormComponentsHost$FreeFormC omponentProxy. <init>(FreeFormComponentsHost.java:45)
at
org.eclipse.ve.internal.swt.FreeFormComponentsHost.add(FreeF ormComponentsHost.java:149)
at
org.eclipse.ve.internal.swt.ControlProxyAdapter.primInstanti ateThisPart(ControlProxyAdapter.java:193)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:1239)
at
org.eclipse.ve.internal.swt.ControlProxyAdapter.primInstanti ateBeanProxy(ControlProxyAdapter.java:137)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teAndInitialize(BeanProxyAdapter.java:388)
at
org.eclipse.ve.internal.swt.UIThreadOnlyProxyAdapter.primIns tantiateAndInitialize(UIThreadOnlyProxyAdapter.java:164)
at
org.eclipse.ve.internal.swt.UIThreadOnlyProxyAdapter.instant iateAndInitialize(UIThreadOnlyProxyAdapter.java:126)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:330)
at
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itSetting(CompositionProxyAdapter.java:374)
at
org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:279)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1993)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
!ENTRY org.eclipse.ui 4 4 2006-08-17 17:21:11.772
!MESSAGE Unhandled event loop exception
|
|
|
|
Re: an internal error occurred during: "create remote VM for Visual Editor for Java" [message #166471 is a reply to message #166409] |
Sat, 19 August 2006 16:13 |
Eclipse User |
|
|
|
Originally posted by: gary.extremeground.com
Jeff Myers wrote:
> Gary,
>
> Gah! You're using GCJ as your Java runtime. This isn't supported as it
> causes tons of weird errors like the ones you're seeing. You'll need to
> use a JRE from Sun or IBM to run the VE.
>
> - Jeff
That removes me from the Debian package system as gcj is a dependency of
Eclipse. Installing Eclipse install gcj and removing gcj removes Eclipse.
So I removed gcj and Eclipse and installed the latest Sun runtime, since
getting the IBM one seemed to involve creating an account, etc.. Then I
downloaded 3.2 and installed it. This is where things start to go wrong.
Firstly, have you ever tried to find a "how to install Eclipse" document
on the Eclipse web site? Actually, finding anything on it is nearly
impossible, but that's another issue. I remembered reading somewhere
that you just unpack the archive and run eclipse, so I tried that.
Fortunately, I also found a mention of a -vm flag in this group, so I
eventually got Eclipse to start. However, I can't get Eclipse to install
anything in my regular account. I can live with that. I don't like
installing executable code as a regular user anyway.
However, I can't get Eclipse to run as root to install the VE either. I
get:
JVM terminated. Exit code=1
/usr/local/lib/jre1.5.0_08/bin/java
-jar startup.jar
-os linux
-ws gtk
-arch x86_64
-launcher /usr/bin/eclipse
-name Eclipse
-showsplash 600
-exitdata 78cc0045
-vm /usr/local/lib/jre1.5.0_08/bin/java
-vmargs
-jar startup.jar
Sorry to be such a nuisance, but how do I get around that?
|
|
|
Re: an internal error occurred during: "create remote VM for Visual Editor for Java" [message #166699 is a reply to message #166471] |
Tue, 22 August 2006 16:02 |
Eclipse User |
|
|
|
Originally posted by: jkangash.hiit.fi
Gary Dale <gary@extremeground.com> writes:
> Jeff Myers wrote:
>> Gary,
>>
>> Gah! You're using GCJ as your Java runtime. This isn't supported as
>> it causes tons of weird errors like the ones you're seeing. You'll
>> need to use a JRE from Sun or IBM to run the VE.
>
> That removes me from the Debian package system as gcj is a dependency
> of Eclipse. Installing Eclipse install gcj and removing gcj removes
> Eclipse.
You don't need to do that, it's possible to run the Debian-packaged
Eclipse with other runtimes as well. You'll still need to have gcj
installed of course, but it won't interfere.
One option is to edit the file /etc/eclipse/java_home so that the
directory of your preferred runtime comes first (or so I understand,
that's not what I did). The other one is to add to
~/.eclipse/eclipserc the line
JAVA_HOME=<path to Java>
The latter is what I'm using and it's working well.
--
Jaakko Kangasharju, Helsinki Institute for Information Technology
Why doesn't the Beast use Unix?
Because it cannot run any programs.
|
|
|
Powered by
FUDForum. Page generated in 0.08082 seconds