Home » Modeling » GMF (Graphical Modeling Framework) » Display.syncExec() - NullPointerException
Display.syncExec() - NullPointerException [message #114234] |
Mon, 26 March 2007 05:48  |
Eclipse User |
|
|
|
Originally posted by: master_andy.gmx.de
Hey,
strange problem here: I created an editor with GMF using my desktop PC at
home. Everything works fine but if I copy the diagram projects into my
laptops workspace, I allways get this exception during startup my diagram
plugin:
Exception in thread "Thread-1" java.lang.NullPointerException
at org.eclipse.swt.widgets.Display.syncExec(Display.java:3905)
at
org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:94)
at org.eclipse.ui.internal.Workbench$42.handleException(Workben ch.java:1843)
at org.eclipse.core.runtime.SafeRunner.handleException(SafeRunn er.java:68)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:39)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1767)
at
org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(Wor kbenchConfigurer.java:183)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:751)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1289)
at org.eclipse.ui.internal.Workbench.access$33(Workbench.java:1 234)
at org.eclipse.ui.internal.Workbench$51.run(Workbench.java:2183 )
After some attempts to fix that problem (thought the problem is somewhere in
the diagram code) I tried to execute the taipan example - same failure. Does
anybody know where the problem could be? I allready installed everything
new - nothing seems to work, allways the same problem.
Greetings,
Andreas
|
|
| |
Re: Display.syncExec() - NullPointerException [message #114894 is a reply to message #114869] |
Wed, 28 March 2007 04:09   |
Eclipse User |
|
|
|
Originally posted by: fbanica.soluta.net
:-) No, it's not the wrong workgroup...
Are you sure you have exactly the same version installed both on the desktop
and on the laptop? Did you, by any change, upgraded in some way the
Eclipse/GMF one of them? I would install from scratch all, from Eclipse to
GMF 2.0 M5uh. Than retry... Try to check that you have (only) the JRE 1.5.0
installed on the laptop. Good luck!
Floppy
"Andreas" <master_andy@gmx.de> wrote in message
news:eud5om$k5o$1@utils.eclipse.org...
> Hey,
>
> is nobody able to help me? Or is it the wrong newsgroup?
>
> Regards,
> Andreas
>
>
> "Andreas" <master_andy@gmx.de> schrieb im Newsbeitrag
> news:eu84s1$bvo$1@utils.eclipse.org...
>> Hey,
>>
>> strange problem here: I created an editor with GMF using my desktop PC at
>> home. Everything works fine but if I copy the diagram projects into my
>> laptops workspace, I allways get this exception during startup my diagram
>> plugin:
>>
>> Exception in thread "Thread-1" java.lang.NullPointerException
>>
>> at org.eclipse.swt.widgets.Display.syncExec(Display.java:3905)
>>
>> at
>> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:94)
>>
>> at
>> org.eclipse.ui.internal.Workbench$42.handleException(Workben ch.java:1843)
>>
>> at
>> org.eclipse.core.runtime.SafeRunner.handleException(SafeRunn er.java:68)
>>
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:39)
>>
>> at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1767)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(Wor kbenchConfigurer.java:183)
>>
>> at
>> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:751)
>>
>> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1289)
>>
>> at org.eclipse.ui.internal.Workbench.access$33(Workbench.java:1 234)
>>
>> at org.eclipse.ui.internal.Workbench$51.run(Workbench.java:2183 )
>>
>> After some attempts to fix that problem (thought the problem is somewhere
>> in the diagram code) I tried to execute the taipan example - same
>> failure. Does anybody know where the problem could be? I allready
>> installed everything new - nothing seems to work, allways the same
>> problem.
>>
>>
>> Greetings,
>> Andreas
>>
>>
>>
>>
>
>
|
|
|
Re: Display.syncExec() - NullPointerException [message #114905 is a reply to message #114894] |
Wed, 28 March 2007 04:50   |
Eclipse User |
|
|
|
Originally posted by: master_andy.gmx.de
Hey Florin,
yes I allready installed (even downloaded) everything (!) from scratch. On
my desktop
I'm working with JRE 6 - and on my laptop as well. I'll try to install the
new Eclipse 3.3M6
(even if I don't think that is working ;)).
I just thought about that it may has something to do with the dual core
technology, because that's
the only thing that relly differs from my desktop.
Regards,
Andreas
"Florin Banica" <fbanica@soluta.net> schrieb im Newsbeitrag
news:eud7tt$4ph$1@utils.eclipse.org...
> :-) No, it's not the wrong workgroup...
>
> Are you sure you have exactly the same version installed both on the
> desktop and on the laptop? Did you, by any change, upgraded in some way
> the Eclipse/GMF one of them? I would install from scratch all, from
> Eclipse to GMF 2.0 M5uh. Than retry... Try to check that you have (only)
> the JRE 1.5.0 installed on the laptop. Good luck!
>
>
>
> Floppy
>
>
> "Andreas" <master_andy@gmx.de> wrote in message
> news:eud5om$k5o$1@utils.eclipse.org...
>> Hey,
>>
>> is nobody able to help me? Or is it the wrong newsgroup?
>>
>> Regards,
>> Andreas
>>
>>
>> "Andreas" <master_andy@gmx.de> schrieb im Newsbeitrag
>> news:eu84s1$bvo$1@utils.eclipse.org...
>>> Hey,
>>>
>>> strange problem here: I created an editor with GMF using my desktop PC
>>> at home. Everything works fine but if I copy the diagram projects into
>>> my laptops workspace, I allways get this exception during startup my
>>> diagram plugin:
>>>
>>> Exception in thread "Thread-1" java.lang.NullPointerException
>>>
>>> at org.eclipse.swt.widgets.Display.syncExec(Display.java:3905)
>>>
>>> at
>>> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:94)
>>>
>>> at
>>> org.eclipse.ui.internal.Workbench$42.handleException(Workben ch.java:1843)
>>>
>>> at
>>> org.eclipse.core.runtime.SafeRunner.handleException(SafeRunn er.java:68)
>>>
>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:39)
>>>
>>> at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1767)
>>>
>>> at
>>> org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(Wor kbenchConfigurer.java:183)
>>>
>>> at
>>> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:751)
>>>
>>> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1289)
>>>
>>> at org.eclipse.ui.internal.Workbench.access$33(Workbench.java:1 234)
>>>
>>> at org.eclipse.ui.internal.Workbench$51.run(Workbench.java:2183 )
>>>
>>> After some attempts to fix that problem (thought the problem is
>>> somewhere in the diagram code) I tried to execute the taipan example -
>>> same failure. Does anybody know where the problem could be? I allready
>>> installed everything new - nothing seems to work, allways the same
>>> problem.
>>>
>>>
>>> Greetings,
>>> Andreas
>>>
>>>
>>>
>>>
>>
>>
>
>
|
|
|
Re: Display.syncExec() - NullPointerException [message #114928 is a reply to message #114905] |
Wed, 28 March 2007 06:16   |
Eclipse User |
|
|
|
Originally posted by: master_andy.gmx.de
It's me again ;)
Ok, I don't know why and how - but now - 1 week later it works again. I
installed the JRE 1.5.0 and selected it as the execution environment. There
where some errors because the validation plugin needs JRE 1.6 but who cares.
After that I switched back to 1.6 again and...... it works ;).
Thanks,
Andreas
"Andreas" <master_andy@gmx.de> schrieb im Newsbeitrag
news:euda8s$dd4$1@utils.eclipse.org...
> Hey Florin,
>
> yes I allready installed (even downloaded) everything (!) from scratch. On
> my desktop
> I'm working with JRE 6 - and on my laptop as well. I'll try to install the
> new Eclipse 3.3M6
> (even if I don't think that is working ;)).
>
> I just thought about that it may has something to do with the dual core
> technology, because that's
> the only thing that relly differs from my desktop.
>
> Regards,
> Andreas
>
> "Florin Banica" <fbanica@soluta.net> schrieb im Newsbeitrag
> news:eud7tt$4ph$1@utils.eclipse.org...
>> :-) No, it's not the wrong workgroup...
>>
>> Are you sure you have exactly the same version installed both on the
>> desktop and on the laptop? Did you, by any change, upgraded in some way
>> the Eclipse/GMF one of them? I would install from scratch all, from
>> Eclipse to GMF 2.0 M5uh. Than retry... Try to check that you have (only)
>> the JRE 1.5.0 installed on the laptop. Good luck!
>>
>>
>>
>> Floppy
>>
>>
>> "Andreas" <master_andy@gmx.de> wrote in message
>> news:eud5om$k5o$1@utils.eclipse.org...
>>> Hey,
>>>
>>> is nobody able to help me? Or is it the wrong newsgroup?
>>>
>>> Regards,
>>> Andreas
>>>
>>>
>>> "Andreas" <master_andy@gmx.de> schrieb im Newsbeitrag
>>> news:eu84s1$bvo$1@utils.eclipse.org...
>>>> Hey,
>>>>
>>>> strange problem here: I created an editor with GMF using my desktop PC
>>>> at home. Everything works fine but if I copy the diagram projects into
>>>> my laptops workspace, I allways get this exception during startup my
>>>> diagram plugin:
>>>>
>>>> Exception in thread "Thread-1" java.lang.NullPointerException
>>>>
>>>> at org.eclipse.swt.widgets.Display.syncExec(Display.java:3905)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:94)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.Workbench$42.handleException(Workben ch.java:1843)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.SafeRunner.handleException(SafeRunn er.java:68)
>>>>
>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:39)
>>>>
>>>> at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1767)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(Wor kbenchConfigurer.java:183)
>>>>
>>>> at
>>>> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:751)
>>>>
>>>> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1289)
>>>>
>>>> at org.eclipse.ui.internal.Workbench.access$33(Workbench.java:1 234)
>>>>
>>>> at org.eclipse.ui.internal.Workbench$51.run(Workbench.java:2183 )
>>>>
>>>> After some attempts to fix that problem (thought the problem is
>>>> somewhere in the diagram code) I tried to execute the taipan example -
>>>> same failure. Does anybody know where the problem could be? I allready
>>>> installed everything new - nothing seems to work, allways the same
>>>> problem.
>>>>
>>>>
>>>> Greetings,
>>>> Andreas
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
|
|
|
Re: Display.syncExec() - NullPointerException [message #114942 is a reply to message #114905] |
Wed, 28 March 2007 06:18   |
Eclipse User |
|
|
|
Originally posted by: fbanica.soluta.net
Just to be sure that you have exactly the same environment on both PC's, try
to make a RCP application from your editor on the desktop, then deploy it on
the laptop and see if it works. If not, there something different in the
environment between the two PC's.
Anyway try to stick to GMF 2.0 M5uh and JRE 1.5.0 (I use those and it's
working on at least 3 different PC's. I did the RCP application on my PC and
deployed it on other two and it's working fine.).
Floppy
"Andreas" <master_andy@gmx.de> wrote in message
news:euda8s$dd4$1@utils.eclipse.org...
> Hey Florin,
>
> yes I allready installed (even downloaded) everything (!) from scratch. On
> my desktop
> I'm working with JRE 6 - and on my laptop as well. I'll try to install the
> new Eclipse 3.3M6
> (even if I don't think that is working ;)).
>
> I just thought about that it may has something to do with the dual core
> technology, because that's
> the only thing that relly differs from my desktop.
>
> Regards,
> Andreas
>
> "Florin Banica" <fbanica@soluta.net> schrieb im Newsbeitrag
> news:eud7tt$4ph$1@utils.eclipse.org...
>> :-) No, it's not the wrong workgroup...
>>
>> Are you sure you have exactly the same version installed both on the
>> desktop and on the laptop? Did you, by any change, upgraded in some way
>> the Eclipse/GMF one of them? I would install from scratch all, from
>> Eclipse to GMF 2.0 M5uh. Than retry... Try to check that you have (only)
>> the JRE 1.5.0 installed on the laptop. Good luck!
>>
>>
>>
>> Floppy
>>
>>
>> "Andreas" <master_andy@gmx.de> wrote in message
>> news:eud5om$k5o$1@utils.eclipse.org...
>>> Hey,
>>>
>>> is nobody able to help me? Or is it the wrong newsgroup?
>>>
>>> Regards,
>>> Andreas
>>>
>>>
>>> "Andreas" <master_andy@gmx.de> schrieb im Newsbeitrag
>>> news:eu84s1$bvo$1@utils.eclipse.org...
>>>> Hey,
>>>>
>>>> strange problem here: I created an editor with GMF using my desktop PC
>>>> at home. Everything works fine but if I copy the diagram projects into
>>>> my laptops workspace, I allways get this exception during startup my
>>>> diagram plugin:
>>>>
>>>> Exception in thread "Thread-1" java.lang.NullPointerException
>>>>
>>>> at org.eclipse.swt.widgets.Display.syncExec(Display.java:3905)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:94)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.Workbench$42.handleException(Workben ch.java:1843)
>>>>
>>>> at
>>>> org.eclipse.core.runtime.SafeRunner.handleException(SafeRunn er.java:68)
>>>>
>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:39)
>>>>
>>>> at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1767)
>>>>
>>>> at
>>>> org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(Wor kbenchConfigurer.java:183)
>>>>
>>>> at
>>>> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:751)
>>>>
>>>> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1289)
>>>>
>>>> at org.eclipse.ui.internal.Workbench.access$33(Workbench.java:1 234)
>>>>
>>>> at org.eclipse.ui.internal.Workbench$51.run(Workbench.java:2183 )
>>>>
>>>> After some attempts to fix that problem (thought the problem is
>>>> somewhere in the diagram code) I tried to execute the taipan example -
>>>> same failure. Does anybody know where the problem could be? I allready
>>>> installed everything new - nothing seems to work, allways the same
>>>> problem.
>>>>
>>>>
>>>> Greetings,
>>>> Andreas
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
|
|
|
Re: Display.syncExec() - NullPointerException [message #118432 is a reply to message #114869] |
Wed, 11 April 2007 17:15  |
Eclipse User |
|
|
|
Originally posted by: rafald.campus.uni-paderborn.de
Hey Andy,
I recently had the very same problem during developing of some gmf plugin
In the RuntimeWorkspace I had a diagram opened, created with some older
version of the plugin - that was were the problem was. The new changed
editor was not someway not compatible with the old diagram and did not allow
the workspace to start
I solved it simply by closing the problem project (you can simply close all
your projects) and starting the runtime workspace.
The runtime workspace could not open the diagram without the plugin, some
error messages were shown. I deleted the old diagram closed the runtime
workspace, opened the plugin project started the runtime workspace again and
created a new diagram. Everything worked fine.
In your situation it may be that on the second computer you use diagrams
created by plugin version other then installed there.
Greeting,
Rafal
"Andreas" <master_andy@gmx.de> schrieb im Newsbeitrag
news:eud5om$k5o$1@utils.eclipse.org...
> Hey,
>
> is nobody able to help me? Or is it the wrong newsgroup?
>
> Regards,
> Andreas
>
>
> "Andreas" <master_andy@gmx.de> schrieb im Newsbeitrag
> news:eu84s1$bvo$1@utils.eclipse.org...
>> Hey,
>>
>> strange problem here: I created an editor with GMF using my desktop PC at
>> home. Everything works fine but if I copy the diagram projects into my
>> laptops workspace, I allways get this exception during startup my diagram
>> plugin:
>>
>> Exception in thread "Thread-1" java.lang.NullPointerException
>>
>> at org.eclipse.swt.widgets.Display.syncExec(Display.java:3905)
>>
>> at
>> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:94)
>>
>> at
>> org.eclipse.ui.internal.Workbench$42.handleException(Workben ch.java:1843)
>>
>> at
>> org.eclipse.core.runtime.SafeRunner.handleException(SafeRunn er.java:68)
>>
>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:39)
>>
>> at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1767)
>>
>> at
>> org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(Wor kbenchConfigurer.java:183)
>>
>> at
>> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:751)
>>
>> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1289)
>>
>> at org.eclipse.ui.internal.Workbench.access$33(Workbench.java:1 234)
>>
>> at org.eclipse.ui.internal.Workbench$51.run(Workbench.java:2183 )
>>
>> After some attempts to fix that problem (thought the problem is somewhere
>> in the diagram code) I tried to execute the taipan example - same
>> failure. Does anybody know where the problem could be? I allready
>> installed everything new - nothing seems to work, allways the same
>> problem.
>>
>>
>> Greetings,
>> Andreas
>>
>>
>>
>>
>
>
|
|
|
Goto Forum:
Current Time: Sun Jun 08 08:58:19 EDT 2025
Powered by FUDForum. Page generated in 0.07666 seconds
|