Home » Archived » Visual Editor (VE) » VE null pointer when creating a Visual Class
VE null pointer when creating a Visual Class [message #82859] |
Wed, 09 March 2005 06:33 |
Eclipse User |
|
|
|
Originally posted by: leigh.giles.bigpond.com
G'day
I'm running linux (kernel 2.6.10)
eclipse.buildId=200408122000
java.version=1.4.2-01
java.vendor=Blackdown Java-Linux Team
BootLoader constants: OS=linux, ARCH=amd64, WS=gtk, NL=en_US
*** Features:
org.eclipse.emf (2.0.1) "Eclipse Modeling Framework (EMF)"
org.eclipse.emf.ecore.sdo (2.0.1) "EMF Service Data Objects (SDO)"
org.eclipse.gef (3.0.1) "Graphical Editing Framework"
org.eclipse.jdt (3.1.0) "Eclipse Java Development Tools"
org.eclipse.jdt.source (3.1.0) "Eclipse Java Development Tools SDK"
org.eclipse.jem (1.0.2) "Java EMF Model"
org.eclipse.pde (3.1.0) "Eclipse Plug-in Development Environment"
org.eclipse.pde.source (3.1.0) "Eclipse Plug-in Development Environment
Developer Resources"
org.eclipse.platform (3.1.0) "Eclipse Platform"
org.eclipse.platform.source (3.1.0) "Eclipse Platform Plug-in Developer
Resources"
org.eclipse.sdk (3.1.0) "Eclipse Project SDK"
org.eclipse.ve (1.0.2) "Visual Editor"
When I try to create a visual class I get an error
java.lang.NullPointerException
at
org.eclipse.core.internal.runtime.FindSupport.findInPlugin(F indSupport.java:206)
at
org.eclipse.core.internal.runtime.FindSupport.findWS(FindSup port.java:159)
at org.eclipse.core.internal.runtime.FindSupport.find(FindSuppo rt.java:86)
at org.eclipse.core.runtime.Platform.find(Platform.java:785)
at
org.eclipse.jem.internal.proxy.core.ProxyPlugin.findPluginJa rAndAttachedSource(ProxyPlugin.java:1057)
at org.eclipse.ve.internal.swt.SWTContainer.<init>(SWTContainer.java:93)
at
org.eclipse.ve.internal.swt.SWTContainerInitializer.initiali ze(SWTContainerInitializer.java:22)
at
org.eclipse.jdt.internal.core.JavaModelManager.initializeCon tainer(JavaModelManager.java:1263)
at
org.eclipse.jdt.internal.core.JavaModelManager.getClasspathC ontainer(JavaModelManager.java:837)
at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore .java:1215)
at
org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListLabelPr ovider.getCPListElementText(CPListLabelProvider.java:207)
at
org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListLabelPr ovider.getText(CPListLabelProvider.java:72)
I've tried to add the STandard Widget Toolkit (SWT) but it doesn't appear
to do anything. The project build path doesn't change
tia
Leigh
|
|
|
Re: VE null pointer when creating a Visual Class [message #82935 is a reply to message #82859] |
Wed, 09 March 2005 14:35 |
Eclipse User |
|
|
|
Originally posted by: myersj.gmail.com
Leigh,
It looks like you're running with a JRE provided by Blackdown Java-Linux
Team rather than official Sun JRE. I don't think Eclipse is supported
using this JRE. You should try the Linux AMD 64 JRE provided by Sun.
(and make sure you're using the amd64 bit version of Eclipse as well)
Hope this helps,
- Jeff
Leigh Giles wrote:
> G'day
>
> I'm running linux (kernel 2.6.10)
> eclipse.buildId=200408122000
> java.version=1.4.2-01
> java.vendor=Blackdown Java-Linux Team
> BootLoader constants: OS=linux, ARCH=amd64, WS=gtk, NL=en_US
>
>
> *** Features:
> org.eclipse.emf (2.0.1) "Eclipse Modeling Framework (EMF)"
> org.eclipse.emf.ecore.sdo (2.0.1) "EMF Service Data Objects (SDO)"
> org.eclipse.gef (3.0.1) "Graphical Editing Framework"
> org.eclipse.jdt (3.1.0) "Eclipse Java Development Tools"
> org.eclipse.jdt.source (3.1.0) "Eclipse Java Development Tools SDK"
> org.eclipse.jem (1.0.2) "Java EMF Model"
> org.eclipse.pde (3.1.0) "Eclipse Plug-in Development Environment"
> org.eclipse.pde.source (3.1.0) "Eclipse Plug-in Development Environment
> Developer Resources"
> org.eclipse.platform (3.1.0) "Eclipse Platform"
> org.eclipse.platform.source (3.1.0) "Eclipse Platform Plug-in Developer
> Resources"
> org.eclipse.sdk (3.1.0) "Eclipse Project SDK"
> org.eclipse.ve (1.0.2) "Visual Editor"
>
> When I try to create a visual class I get an error
>
> java.lang.NullPointerException
> at
> org.eclipse.core.internal.runtime.FindSupport.findInPlugin(F indSupport.java:206)
>
> at
> org.eclipse.core.internal.runtime.FindSupport.findWS(FindSup port.java:159)
> at org.eclipse.core.internal.runtime.FindSupport.find(FindSuppo rt.java:86)
> at org.eclipse.core.runtime.Platform.find(Platform.java:785)
> at
> org.eclipse.jem.internal.proxy.core.ProxyPlugin.findPluginJa rAndAttachedSource(ProxyPlugin.java:1057)
>
> at org.eclipse.ve.internal.swt.SWTContainer.<init>(SWTContainer.java:93)
> at
> org.eclipse.ve.internal.swt.SWTContainerInitializer.initiali ze(SWTContainerInitializer.java:22)
>
> at
> org.eclipse.jdt.internal.core.JavaModelManager.initializeCon tainer(JavaModelManager.java:1263)
>
> at
> org.eclipse.jdt.internal.core.JavaModelManager.getClasspathC ontainer(JavaModelManager.java:837)
>
> at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore .java:1215)
> at
> org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListLabelPr ovider.getCPListElementText(CPListLabelProvider.java:207)
>
> at
> org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListLabelPr ovider.getText(CPListLabelProvider.java:72)
>
>
>
> I've tried to add the STandard Widget Toolkit (SWT) but it doesn't
> appear to do anything. The project build path doesn't change
>
> tia
>
> Leigh
>
>
|
|
|
Re: VE null pointer when creating a Visual Class [message #82965 is a reply to message #82859] |
Wed, 09 March 2005 16:08 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
It looks like you have mixed versions of code here. The eclipse.buildId
is 200408122000 which is either a really old Eclipse 3.1M1 or is Eclipse
3.0.1 driver, with EMF 2.0.1 and VE 1.0.2 and GEF 3.0.1. These don't go
together at all.
These versions of EMF,GEF,and VE work together correctly on Eclipse
3.0.1. Not on Eclipse 3.1M1. You need to step back to Eclipse 3.0.1 for
this combination.
If you step up to Eclipse 3.1M5, you will need to use GEF 3.1, EMF 2.1,
and the latest nightly build of VE 1.1 (however this has bugs and
doesn't work well yet, we are in the process of trying to get a good
build for Eclipse 3.1).
Leigh Giles wrote:
> G'day
>
> I'm running linux (kernel 2.6.10)
> eclipse.buildId=200408122000
> java.version=1.4.2-01
> java.vendor=Blackdown Java-Linux Team
> BootLoader constants: OS=linux, ARCH=amd64, WS=gtk, NL=en_US
>
>
> *** Features:
> org.eclipse.emf (2.0.1) "Eclipse Modeling Framework (EMF)"
> org.eclipse.emf.ecore.sdo (2.0.1) "EMF Service Data Objects (SDO)"
> org.eclipse.gef (3.0.1) "Graphical Editing Framework"
> org.eclipse.jdt (3.1.0) "Eclipse Java Development Tools"
> org.eclipse.jdt.source (3.1.0) "Eclipse Java Development Tools SDK"
> org.eclipse.jem (1.0.2) "Java EMF Model"
> org.eclipse.pde (3.1.0) "Eclipse Plug-in Development Environment"
> org.eclipse.pde.source (3.1.0) "Eclipse Plug-in Development Environment
> Developer Resources"
> org.eclipse.platform (3.1.0) "Eclipse Platform"
> org.eclipse.platform.source (3.1.0) "Eclipse Platform Plug-in Developer
> Resources"
> org.eclipse.sdk (3.1.0) "Eclipse Project SDK"
> org.eclipse.ve (1.0.2) "Visual Editor"
>
> When I try to create a visual class I get an error
>
> java.lang.NullPointerException
> at
> org.eclipse.core.internal.runtime.FindSupport.findInPlugin(F indSupport.java:206)
>
> at
> org.eclipse.core.internal.runtime.FindSupport.findWS(FindSup port.java:159)
> at org.eclipse.core.internal.runtime.FindSupport.find(FindSuppo rt.java:86)
> at org.eclipse.core.runtime.Platform.find(Platform.java:785)
> at
> org.eclipse.jem.internal.proxy.core.ProxyPlugin.findPluginJa rAndAttachedSource(ProxyPlugin.java:1057)
>
> at org.eclipse.ve.internal.swt.SWTContainer.<init>(SWTContainer.java:93)
> at
> org.eclipse.ve.internal.swt.SWTContainerInitializer.initiali ze(SWTContainerInitializer.java:22)
>
> at
> org.eclipse.jdt.internal.core.JavaModelManager.initializeCon tainer(JavaModelManager.java:1263)
>
> at
> org.eclipse.jdt.internal.core.JavaModelManager.getClasspathC ontainer(JavaModelManager.java:837)
>
> at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore .java:1215)
> at
> org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListLabelPr ovider.getCPListElementText(CPListLabelProvider.java:207)
>
> at
> org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListLabelPr ovider.getText(CPListLabelProvider.java:72)
>
>
>
> I've tried to add the STandard Widget Toolkit (SWT) but it doesn't
> appear to do anything. The project build path doesn't change
>
> tia
>
> Leigh
>
>
--
Thanks,
Rich Kulp
|
|
|
Re: VE null pointer when creating a Visual Class [message #83038 is a reply to message #82965] |
Thu, 10 March 2005 01:18 |
Eclipse User |
|
|
|
Originally posted by: leigh_giles.bigpond.com
Thanks very much for your reply,
I am using eclipse-sourceBuild-srcIncluded-3.1M1.zip that I compiled on
my computer. I'll download the 3.0.1 eclipse today and try that.
Jeff suggested moving to the sun JDK instead of Blackdown - I'm using
gentoo and there doesn't appear to be a sun 1.4.2 JDK for amd64.
I do know there is an issue with debugging with the blackdown JVM.
I think I'll wait for the sun 1.5 JDK.
thanks again.
regards,
Leigh
Rich Kulp wrote:
> It looks like you have mixed versions of code here. The eclipse.buildId
> is 200408122000 which is either a really old Eclipse 3.1M1 or is Eclipse
> 3.0.1 driver, with EMF 2.0.1 and VE 1.0.2 and GEF 3.0.1. These don't go
> together at all.
>
> These versions of EMF,GEF,and VE work together correctly on Eclipse
> 3.0.1. Not on Eclipse 3.1M1. You need to step back to Eclipse 3.0.1 for
> this combination.
>
> If you step up to Eclipse 3.1M5, you will need to use GEF 3.1, EMF 2.1,
> and the latest nightly build of VE 1.1 (however this has bugs and
> doesn't work well yet, we are in the process of trying to get a good
> build for Eclipse 3.1).
>
|
|
|
Re: VE null pointer when creating a Visual Class [message #83053 is a reply to message #83038] |
Thu, 10 March 2005 01:49 |
Eclipse User |
|
|
|
Originally posted by: myersj.nospam.gmail.com
Leigh,
Sun's 1.5 JDK for the Linux AMD64 Platform is available now. Eclipse
3.0.1 runs fine with JDK 1.5... but you can't take advantage of the new
language features included in 1.5 unless you're running a 3.1 milestone.
But if you want to try out the VE, the combination of Eclipse 3.0.1
and Sun's 1.5 JDK works.
- Jeff
leigh giles wrote:
> Thanks very much for your reply,
> I am using eclipse-sourceBuild-srcIncluded-3.1M1.zip that I compiled on
> my computer. I'll download the 3.0.1 eclipse today and try that.
>
> Jeff suggested moving to the sun JDK instead of Blackdown - I'm using
> gentoo and there doesn't appear to be a sun 1.4.2 JDK for amd64.
>
> I do know there is an issue with debugging with the blackdown JVM.
>
> I think I'll wait for the sun 1.5 JDK.
>
> thanks again.
>
> regards,
> Leigh
>
> Rich Kulp wrote:
>
>> It looks like you have mixed versions of code here. The
>> eclipse.buildId is 200408122000 which is either a really old Eclipse
>> 3.1M1 or is Eclipse 3.0.1 driver, with EMF 2.0.1 and VE 1.0.2 and GEF
>> 3.0.1. These don't go together at all.
>>
>> These versions of EMF,GEF,and VE work together correctly on Eclipse
>> 3.0.1. Not on Eclipse 3.1M1. You need to step back to Eclipse 3.0.1
>> for this combination.
>>
>> If you step up to Eclipse 3.1M5, you will need to use GEF 3.1, EMF
>> 2.1, and the latest nightly build of VE 1.1 (however this has bugs and
>> doesn't work well yet, we are in the process of trying to get a good
>> build for Eclipse 3.1).
>>
>
|
|
|
Re: VE null pointer when creating a Visual Class [message #83067 is a reply to message #83053] |
Thu, 10 March 2005 07:56 |
Eclipse User |
|
|
|
Originally posted by: leigh.giles.bigpond.com
Jeff,
Thanks for the info I'll try 1.5 and eclipse 3.0.1
My compliments to yourself and Rich for your prompt replies
regards
Leigh
Jeff Myers wrote:
> Leigh,
> Sun's 1.5 JDK for the Linux AMD64 Platform is available now. Eclipse
> 3.0.1 runs fine with JDK 1.5... but you can't take advantage of the new
> language features included in 1.5 unless you're running a 3.1 milestone.
> But if you want to try out the VE, the combination of Eclipse 3.0.1
> and Sun's 1.5 JDK works.
> - Jeff
|
|
| |
Re: VE null pointer when creating a Visual Class [message #605792 is a reply to message #82859] |
Wed, 09 March 2005 16:08 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
It looks like you have mixed versions of code here. The eclipse.buildId
is 200408122000 which is either a really old Eclipse 3.1M1 or is Eclipse
3.0.1 driver, with EMF 2.0.1 and VE 1.0.2 and GEF 3.0.1. These don't go
together at all.
These versions of EMF,GEF,and VE work together correctly on Eclipse
3.0.1. Not on Eclipse 3.1M1. You need to step back to Eclipse 3.0.1 for
this combination.
If you step up to Eclipse 3.1M5, you will need to use GEF 3.1, EMF 2.1,
and the latest nightly build of VE 1.1 (however this has bugs and
doesn't work well yet, we are in the process of trying to get a good
build for Eclipse 3.1).
Leigh Giles wrote:
> G'day
>
> I'm running linux (kernel 2.6.10)
> eclipse.buildId=200408122000
> java.version=1.4.2-01
> java.vendor=Blackdown Java-Linux Team
> BootLoader constants: OS=linux, ARCH=amd64, WS=gtk, NL=en_US
>
>
> *** Features:
> org.eclipse.emf (2.0.1) "Eclipse Modeling Framework (EMF)"
> org.eclipse.emf.ecore.sdo (2.0.1) "EMF Service Data Objects (SDO)"
> org.eclipse.gef (3.0.1) "Graphical Editing Framework"
> org.eclipse.jdt (3.1.0) "Eclipse Java Development Tools"
> org.eclipse.jdt.source (3.1.0) "Eclipse Java Development Tools SDK"
> org.eclipse.jem (1.0.2) "Java EMF Model"
> org.eclipse.pde (3.1.0) "Eclipse Plug-in Development Environment"
> org.eclipse.pde.source (3.1.0) "Eclipse Plug-in Development Environment
> Developer Resources"
> org.eclipse.platform (3.1.0) "Eclipse Platform"
> org.eclipse.platform.source (3.1.0) "Eclipse Platform Plug-in Developer
> Resources"
> org.eclipse.sdk (3.1.0) "Eclipse Project SDK"
> org.eclipse.ve (1.0.2) "Visual Editor"
>
> When I try to create a visual class I get an error
>
> java.lang.NullPointerException
> at
> org.eclipse.core.internal.runtime.FindSupport.findInPlugin(F indSupport.java:206)
>
> at
> org.eclipse.core.internal.runtime.FindSupport.findWS(FindSup port.java:159)
> at org.eclipse.core.internal.runtime.FindSupport.find(FindSuppo rt.java:86)
> at org.eclipse.core.runtime.Platform.find(Platform.java:785)
> at
> org.eclipse.jem.internal.proxy.core.ProxyPlugin.findPluginJa rAndAttachedSource(ProxyPlugin.java:1057)
>
> at org.eclipse.ve.internal.swt.SWTContainer.<init>(SWTContainer.java:93)
> at
> org.eclipse.ve.internal.swt.SWTContainerInitializer.initiali ze(SWTContainerInitializer.java:22)
>
> at
> org.eclipse.jdt.internal.core.JavaModelManager.initializeCon tainer(JavaModelManager.java:1263)
>
> at
> org.eclipse.jdt.internal.core.JavaModelManager.getClasspathC ontainer(JavaModelManager.java:837)
>
> at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore .java:1215)
> at
> org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListLabelPr ovider.getCPListElementText(CPListLabelProvider.java:207)
>
> at
> org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListLabelPr ovider.getText(CPListLabelProvider.java:72)
>
>
>
> I've tried to add the STandard Widget Toolkit (SWT) but it doesn't
> appear to do anything. The project build path doesn't change
>
> tia
>
> Leigh
>
>
--
Thanks,
Rich Kulp
|
|
|
Re: VE null pointer when creating a Visual Class [message #605801 is a reply to message #82965] |
Thu, 10 March 2005 01:18 |
Eclipse User |
|
|
|
Originally posted by: leigh_giles.bigpond.com
Thanks very much for your reply,
I am using eclipse-sourceBuild-srcIncluded-3.1M1.zip that I compiled on
my computer. I'll download the 3.0.1 eclipse today and try that.
Jeff suggested moving to the sun JDK instead of Blackdown - I'm using
gentoo and there doesn't appear to be a sun 1.4.2 JDK for amd64.
I do know there is an issue with debugging with the blackdown JVM.
I think I'll wait for the sun 1.5 JDK.
thanks again.
regards,
Leigh
Rich Kulp wrote:
> It looks like you have mixed versions of code here. The eclipse.buildId
> is 200408122000 which is either a really old Eclipse 3.1M1 or is Eclipse
> 3.0.1 driver, with EMF 2.0.1 and VE 1.0.2 and GEF 3.0.1. These don't go
> together at all.
>
> These versions of EMF,GEF,and VE work together correctly on Eclipse
> 3.0.1. Not on Eclipse 3.1M1. You need to step back to Eclipse 3.0.1 for
> this combination.
>
> If you step up to Eclipse 3.1M5, you will need to use GEF 3.1, EMF 2.1,
> and the latest nightly build of VE 1.1 (however this has bugs and
> doesn't work well yet, we are in the process of trying to get a good
> build for Eclipse 3.1).
>
|
|
|
Re: VE null pointer when creating a Visual Class [message #605802 is a reply to message #83038] |
Thu, 10 March 2005 01:49 |
Jeff Myers Messages: 396 Registered: July 2009 |
Senior Member |
|
|
Leigh,
Sun's 1.5 JDK for the Linux AMD64 Platform is available now. Eclipse
3.0.1 runs fine with JDK 1.5... but you can't take advantage of the new
language features included in 1.5 unless you're running a 3.1 milestone.
But if you want to try out the VE, the combination of Eclipse 3.0.1
and Sun's 1.5 JDK works.
- Jeff
leigh giles wrote:
> Thanks very much for your reply,
> I am using eclipse-sourceBuild-srcIncluded-3.1M1.zip that I compiled on
> my computer. I'll download the 3.0.1 eclipse today and try that.
>
> Jeff suggested moving to the sun JDK instead of Blackdown - I'm using
> gentoo and there doesn't appear to be a sun 1.4.2 JDK for amd64.
>
> I do know there is an issue with debugging with the blackdown JVM.
>
> I think I'll wait for the sun 1.5 JDK.
>
> thanks again.
>
> regards,
> Leigh
>
> Rich Kulp wrote:
>
>> It looks like you have mixed versions of code here. The
>> eclipse.buildId is 200408122000 which is either a really old Eclipse
>> 3.1M1 or is Eclipse 3.0.1 driver, with EMF 2.0.1 and VE 1.0.2 and GEF
>> 3.0.1. These don't go together at all.
>>
>> These versions of EMF,GEF,and VE work together correctly on Eclipse
>> 3.0.1. Not on Eclipse 3.1M1. You need to step back to Eclipse 3.0.1
>> for this combination.
>>
>> If you step up to Eclipse 3.1M5, you will need to use GEF 3.1, EMF
>> 2.1, and the latest nightly build of VE 1.1 (however this has bugs and
>> doesn't work well yet, we are in the process of trying to get a good
>> build for Eclipse 3.1).
>>
>
|
|
|
Re: VE null pointer when creating a Visual Class [message #605803 is a reply to message #83053] |
Thu, 10 March 2005 07:56 |
Eclipse User |
|
|
|
Originally posted by: leigh.giles.bigpond.com
Jeff,
Thanks for the info I'll try 1.5 and eclipse 3.0.1
My compliments to yourself and Rich for your prompt replies
regards
Leigh
Jeff Myers wrote:
> Leigh,
> Sun's 1.5 JDK for the Linux AMD64 Platform is available now. Eclipse
> 3.0.1 runs fine with JDK 1.5... but you can't take advantage of the new
> language features included in 1.5 unless you're running a 3.1 milestone.
> But if you want to try out the VE, the combination of Eclipse 3.0.1
> and Sun's 1.5 JDK works.
> - Jeff
|
|
|
Goto Forum:
Current Time: Wed Apr 24 14:46:51 GMT 2024
Powered by FUDForum. Page generated in 0.03760 seconds
|