Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Problem with VE plugins on Linux GTK
Problem with VE plugins on Linux GTK [message #14854] Wed, 14 January 2004 07:10 Go to next message
Eclipse UserFriend
Originally posted by: lucamerolla.softhome.net

Hello,
I have just installed eclipse v2.1.2 with all (GEF,EMF and VE) plugins
on my linux Gentoo, but when I start a new Visual Class or open an old
Visual Class, the VE plug-in give me an exception like this:

Visual Editor for Java Error

Error trying to set new file into editor.

Reason: java.lang.NullPointerException

So I tought that it was a problem of Java Virtual Machine (IBM jdk
1.4.1), and try with lastest Sun 1.4.2_03 but the result is the same.

All plug-in are correctly installed, I can see it in the Help->About
Eclipse Platform->Features Plug-ins.

I have no idea... hope someone could help me...

Thanks in advance
Re: Problem with VE plugins on Linux GTK [message #15004 is a reply to message #14854] Wed, 14 January 2004 08:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mendelgili.netscape.net

Luca Merolla wrote:

> Hello,
> I have just installed eclipse v2.1.2 with all (GEF,EMF and VE) plugins
> on my linux Gentoo, but when I start a new Visual Class or open an old
> Visual Class, the VE plug-in give me an exception like this:
>
> Visual Editor for Java Error
>
> Error trying to set new file into editor.
>
> Reason: java.lang.NullPointerException
>
> So I tought that it was a problem of Java Virtual Machine (IBM jdk
> 1.4.1), and try with lastest Sun 1.4.2_03 but the result is the same.
>
> All plug-in are correctly installed, I can see it in the Help->About
> Eclipse Platform->Features Plug-ins.
>
> I have no idea... hope someone could help me...
>
> Thanks in advance

What is the exception trace ({workspace}.metadata.log file).
Re: Problem with VE plugins on Linux GTK [message #15012 is a reply to message #15004] Wed, 14 January 2004 13:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: lucamerolla.softhome.net

Gili Mendel wrote:
> Luca Merolla wrote:
>
>> Hello,
>> I have just installed eclipse v2.1.2 with all (GEF,EMF and VE) plugins
>> on my linux Gentoo, but when I start a new Visual Class or open an old
>> Visual Class, the VE plug-in give me an exception like this:
>>
>> Visual Editor for Java Error
>>
>> Error trying to set new file into editor.
>>
>> Reason: java.lang.NullPointerException
>>
>> So I tought that it was a problem of Java Virtual Machine (IBM jdk
>> 1.4.1), and try with lastest Sun 1.4.2_03 but the result is the same.
>>
>> All plug-in are correctly installed, I can see it in the Help->About
>> Eclipse Platform->Features Plug-ins.
>>
>> I have no idea... hope someone could help me...
>>
>> Thanks in advance
>
>
> What is the exception trace ({workspace}.metadata.log file).
>
This is the exception in the file:

!SESSION Jan 14, 2004 19:12:42.820
---------------------------------------------
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86 -install
file:/opt/eclipse/
!ENTRY org.eclipse.jem.proxy 4 0 Jan 14, 2004 19:12:42.822
!MESSAGE
!STACK 0
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at
org.eclipse.jem.internal.proxy.remote.REMMasterServerThread. <init>(REMMasterServerThread.java:50)
at
org.eclipse.jem.internal.proxy.remote.REMRegistryController. <init>(REMRegistryController.java:66)
at
org.eclipse.jem.internal.proxy.remote.ProxyRemoteUtil.getReg istryController(ProxyRemoteUtil.java:37)
at
org.eclipse.jem.internal.proxy.remote.ProxyRegistration.star tImplementation(ProxyRegistration.java:124)
at
org.eclipse.jem.internal.proxy.core.ProxyPlugin.startImpleme ntation(ProxyPlugin.java:165)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.createProxyFactoryRegistry(JavaVisualEditorPart.jav a:667)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.initializeForProject(JavaVisualEditorPart.jav a:1800)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.initialize(JavaVisualEditorPart.java:1705)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1588)
at java.lang.Thread.run(Thread.java:534)
!ENTRY org.eclipse.ve.java.core 4 0 Jan 14, 2004 19:12:42.833
!MESSAGE Exception
!STACK 0
java.lang.NullPointerException
at
org.eclipse.jem.internal.proxy.remote.REMRegistryController. getMasterSocketPort(REMRegistryController.java:161)
at
org.eclipse.jem.internal.proxy.remote.ProxyRegistration.star tImplementation(ProxyRegistration.java:131)
at
org.eclipse.jem.internal.proxy.core.ProxyPlugin.startImpleme ntation(ProxyPlugin.java:165)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.createProxyFactoryRegistry(JavaVisualEditorPart.jav a:667)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.initializeForProject(JavaVisualEditorPart.jav a:1800)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.initialize(JavaVisualEditorPart.java:1705)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1588)
at java.lang.Thread.run(Thread.java:534)
Re: Problem with VE plugins on Linux GTK [message #15021 is a reply to message #14854] Wed, 14 January 2004 12:37 Go to previous messageGo to next message
Eclipse UserFriend
I'll try and help. There is no traceback or log pushed out is there? Is
there anything interestingin . workspace/.metadata/.log that may relate
to this?

regards

Phil Muldoon


Luca Merolla wrote:
> Hello,
> I have just installed eclipse v2.1.2 with all (GEF,EMF and VE) plugins
> on my linux Gentoo, but when I start a new Visual Class or open an old
> Visual Class, the VE plug-in give me an exception like this:
>
> Visual Editor for Java Error
>
> Error trying to set new file into editor.
>
> Reason: java.lang.NullPointerException
>
> So I tought that it was a problem of Java Virtual Machine (IBM jdk
> 1.4.1), and try with lastest Sun 1.4.2_03 but the result is the same.
>
> All plug-in are correctly installed, I can see it in the Help->About
> Eclipse Platform->Features Plug-ins.
>
> I have no idea... hope someone could help me...
>
> Thanks in advance
Re: Problem with VE plugins on Linux GTK [message #15026 is a reply to message #15012] Wed, 14 January 2004 14:07 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

This is a TCP/IP problem. Do you have a firewall turned on that prevents
from getting through? We use non-used ports to do communications, so
if your firewall is preventing local round-trip ports then that could be
the problem.

We look up ports randomly looking for ones not already used because
there can be more than one session up and each requires several new
ports. That is why we can't use fixed hard-coded ports, we would run out.

> java.net.BindException: Cannot assign requested address
> at java.net.PlainSocketImpl.socketBind(Native Method)

--
Thanks, Rich Kulp

Re: Problem with VE plugins on Linux GTK [message #577944 is a reply to message #14854] Wed, 14 January 2004 08:36 Go to previous message
Eclipse UserFriend
Luca Merolla wrote:

> Hello,
> I have just installed eclipse v2.1.2 with all (GEF,EMF and VE) plugins
> on my linux Gentoo, but when I start a new Visual Class or open an old
> Visual Class, the VE plug-in give me an exception like this:
>
> Visual Editor for Java Error
>
> Error trying to set new file into editor.
>
> Reason: java.lang.NullPointerException
>
> So I tought that it was a problem of Java Virtual Machine (IBM jdk
> 1.4.1), and try with lastest Sun 1.4.2_03 but the result is the same.
>
> All plug-in are correctly installed, I can see it in the Help->About
> Eclipse Platform->Features Plug-ins.
>
> I have no idea... hope someone could help me...
>
> Thanks in advance

What is the exception trace ({workspace}.metadata.log file).
Re: Problem with VE plugins on Linux GTK [message #578029 is a reply to message #15004] Wed, 14 January 2004 13:14 Go to previous message
Eclipse UserFriend
Gili Mendel wrote:
> Luca Merolla wrote:
>
>> Hello,
>> I have just installed eclipse v2.1.2 with all (GEF,EMF and VE) plugins
>> on my linux Gentoo, but when I start a new Visual Class or open an old
>> Visual Class, the VE plug-in give me an exception like this:
>>
>> Visual Editor for Java Error
>>
>> Error trying to set new file into editor.
>>
>> Reason: java.lang.NullPointerException
>>
>> So I tought that it was a problem of Java Virtual Machine (IBM jdk
>> 1.4.1), and try with lastest Sun 1.4.2_03 but the result is the same.
>>
>> All plug-in are correctly installed, I can see it in the Help->About
>> Eclipse Platform->Features Plug-ins.
>>
>> I have no idea... hope someone could help me...
>>
>> Thanks in advance
>
>
> What is the exception trace ({workspace}.metadata.log file).
>
This is the exception in the file:

!SESSION Jan 14, 2004 19:12:42.820
---------------------------------------------
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86 -install
file:/opt/eclipse/
!ENTRY org.eclipse.jem.proxy 4 0 Jan 14, 2004 19:12:42.822
!MESSAGE
!STACK 0
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at
org.eclipse.jem.internal.proxy.remote.REMMasterServerThread. <init>(REMMasterServerThread.java:50)
at
org.eclipse.jem.internal.proxy.remote.REMRegistryController. <init>(REMRegistryController.java:66)
at
org.eclipse.jem.internal.proxy.remote.ProxyRemoteUtil.getReg istryController(ProxyRemoteUtil.java:37)
at
org.eclipse.jem.internal.proxy.remote.ProxyRegistration.star tImplementation(ProxyRegistration.java:124)
at
org.eclipse.jem.internal.proxy.core.ProxyPlugin.startImpleme ntation(ProxyPlugin.java:165)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.createProxyFactoryRegistry(JavaVisualEditorPart.jav a:667)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.initializeForProject(JavaVisualEditorPart.jav a:1800)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.initialize(JavaVisualEditorPart.java:1705)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1588)
at java.lang.Thread.run(Thread.java:534)
!ENTRY org.eclipse.ve.java.core 4 0 Jan 14, 2004 19:12:42.833
!MESSAGE Exception
!STACK 0
java.lang.NullPointerException
at
org.eclipse.jem.internal.proxy.remote.REMRegistryController. getMasterSocketPort(REMRegistryController.java:161)
at
org.eclipse.jem.internal.proxy.remote.ProxyRegistration.star tImplementation(ProxyRegistration.java:131)
at
org.eclipse.jem.internal.proxy.core.ProxyPlugin.startImpleme ntation(ProxyPlugin.java:165)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.createProxyFactoryRegistry(JavaVisualEditorPart.jav a:667)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.initializeForProject(JavaVisualEditorPart.jav a:1800)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.initialize(JavaVisualEditorPart.java:1705)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1588)
at java.lang.Thread.run(Thread.java:534)
Re: Problem with VE plugins on Linux GTK [message #578074 is a reply to message #14854] Wed, 14 January 2004 12:37 Go to previous message
Eclipse UserFriend
I'll try and help. There is no traceback or log pushed out is there? Is
there anything interestingin . workspace/.metadata/.log that may relate
to this?

regards

Phil Muldoon


Luca Merolla wrote:
> Hello,
> I have just installed eclipse v2.1.2 with all (GEF,EMF and VE) plugins
> on my linux Gentoo, but when I start a new Visual Class or open an old
> Visual Class, the VE plug-in give me an exception like this:
>
> Visual Editor for Java Error
>
> Error trying to set new file into editor.
>
> Reason: java.lang.NullPointerException
>
> So I tought that it was a problem of Java Virtual Machine (IBM jdk
> 1.4.1), and try with lastest Sun 1.4.2_03 but the result is the same.
>
> All plug-in are correctly installed, I can see it in the Help->About
> Eclipse Platform->Features Plug-ins.
>
> I have no idea... hope someone could help me...
>
> Thanks in advance
Re: Problem with VE plugins on Linux GTK [message #578127 is a reply to message #15012] Wed, 14 January 2004 14:07 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

This is a TCP/IP problem. Do you have a firewall turned on that prevents
from getting through? We use non-used ports to do communications, so
if your firewall is preventing local round-trip ports then that could be
the problem.

We look up ports randomly looking for ones not already used because
there can be more than one session up and each requires several new
ports. That is why we can't use fixed hard-coded ports, we would run out.

> java.net.BindException: Cannot assign requested address
> at java.net.PlainSocketImpl.socketBind(Native Method)

--
Thanks, Rich Kulp

Previous Topic:VEP on Linux
Next Topic:VE considerations
Goto Forum:
  


Current Time: Fri Jul 18 00:44:18 EDT 2025

Powered by FUDForum. Page generated in 1.26982 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top