Skip to main content



      Home
Home » Archived » Visual Editor (VE) » SWT Menubar
SWT Menubar [message #116017] Fri, 27 January 2006 07:26 Go to next message
Eclipse UserFriend
Originally posted by: uli.spielviel.de

Hi Group,

I want to get a SWT menubar into my SWT shell widget. In the palette I
selected "MenuBar" under SWT Menus and clicked on the shell widget in the
Java Beans view which created an entry titled "menuBar" beneath the shell
widget. I then selected "MenuItem.SubMenu" and wanted to place it beneath
the menuBar widget I just created but the mouse cursor doesn't change to
the "insert here" symbol but stays in "not allowed" mode.
I'm using Eclipse 3.1.1, GEF 3.1.0, EMF 2.1.0 and VE 1.1.0.1. I also tried
replacing GEF with version 3.1.1 and EMF with version 2.1.2 to no avail.
Thanks for helping me

Uli
Re: SWT Menubar [message #116046 is a reply to message #116017] Fri, 27 January 2006 09:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Did you try dropping it right on the MenuBar in the JavaBeans Viewer? If
there are no children to the MenuBar then you need to drop right on it.

--
Thanks,
Rich Kulp
Re: SWT Menubar [message #116057 is a reply to message #116046] Fri, 27 January 2006 10:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: uli.spielviel.de

I tried to drop a "MenuItem.SubMenu"-item right on top of an empty
menuBar-item in the Java Beans view. Exactly how you described it...

Uli
Re: SWT Menubar [message #116177 is a reply to message #116057] Fri, 27 January 2006 14:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

That should of worked. Is there any errors in the .log file?

Ulrich Staerk wrote:
> I tried to drop a "MenuItem.SubMenu"-item right on top of an empty
> menuBar-item in the Java Beans view. Exactly how you described it...
>
> Uli
>

--
Thanks,
Rich Kulp
Re: SWT Menubar [message #116404 is a reply to message #116177] Tue, 31 January 2006 08:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexandre.gzsistemas.com.br

Rich Kulp escreveu:
> That should of worked. Is there any errors in the .log file?
>
> Ulrich Staerk wrote:
>> I tried to drop a "MenuItem.SubMenu"-item right on top of an empty
>> menuBar-item in the Java Beans view. Exactly how you described it...
>>
>> Uli
>>
>

Rich,

I have exactly the same problem. My configuration is Eclipse SDK 3.1.1,
GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1.

I'm running Eclipse on Windows XP Professional.

What can be wrong ?

Thanks.
Re: SWT Menubar [message #116417 is a reply to message #116404] Tue, 31 January 2006 11:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Are there any errors in the .log file? Did you try a clean cache?

Alexandre Boaventura wrote:
> Rich Kulp escreveu:
>
>> That should of worked. Is there any errors in the .log file?
>>
>> Ulrich Staerk wrote:
>>
>>> I tried to drop a "MenuItem.SubMenu"-item right on top of an empty
>>> menuBar-item in the Java Beans view. Exactly how you described it...
>>>
>>> Uli
>>>
>>
>
> Rich,
>
> I have exactly the same problem. My configuration is Eclipse SDK 3.1.1,
> GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1.
>
> I'm running Eclipse on Windows XP Professional.
>
> What can be wrong ?
>
> Thanks.

--
Thanks,
Rich Kulp
Re: SWT Menubar [message #116425 is a reply to message #116417] Tue, 31 January 2006 12:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexandre.gzsistemas.com.br

Rich Kulp escreveu:
> Are there any errors in the .log file? Did you try a clean cache?
>
> Alexandre Boaventura wrote:
>> Rich Kulp escreveu:
>>
>>> That should of worked. Is there any errors in the .log file?
>>>
>>> Ulrich Staerk wrote:
>>>
>>>> I tried to drop a "MenuItem.SubMenu"-item right on top of an empty
>>>> menuBar-item in the Java Beans view. Exactly how you described it...
>>>>
>>>> Uli
>>>>
>>>
>>
>> Rich,
>>
>> I have exactly the same problem. My configuration is Eclipse SDK
>> 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1.
>>
>> I'm running Eclipse on Windows XP Professional.
>>
>> What can be wrong ?
>>
>> Thanks.
>

Hi Rich,

Here is my log file. I've cleaned it before open Eclipse. The first
error occurs just by opening Eclipse.

It opened the last visual class I was working on. It was clean, with no
widgets. So, I inserted a Menu widget and tried to insert a MenuItem.

I hope this error log can help to find what is the problem.

Thank you.
Re: SWT Menubar [message #116458 is a reply to message #116425] Tue, 31 January 2006 13:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alexandre.gzsistemas.com.br

This is a multi-part message in MIME format.
--------------060805010403000105080006
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Alexandre Boaventura escreveu:
> Rich Kulp escreveu:
>> Are there any errors in the .log file? Did you try a clean cache?
>>
>> Alexandre Boaventura wrote:
>>> Rich Kulp escreveu:
>>>
>>>> That should of worked. Is there any errors in the .log file?
>>>>
>>>> Ulrich Staerk wrote:
>>>>
>>>>> I tried to drop a "MenuItem.SubMenu"-item right on top of an empty
>>>>> menuBar-item in the Java Beans view. Exactly how you described it...
>>>>>
>>>>> Uli
>>>>>
>>>>
>>>
>>> Rich,
>>>
>>> I have exactly the same problem. My configuration is Eclipse SDK
>>> 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1.
>>>
>>> I'm running Eclipse on Windows XP Professional.
>>>
>>> What can be wrong ?
>>>
>>> Thanks.
>>
>
> Hi Rich,
>
> Here is my log file. I've cleaned it before open Eclipse. The first
> error occurs just by opening Eclipse.
>
> It opened the last visual class I was working on. It was clean, with no
> widgets. So, I inserted a Menu widget and tried to insert a MenuItem.
>
> I hope this error log can help to find what is the problem.
>
> Thank you.


Now, the error log attached. Sorry.



--------------060805010403000105080006
Content-Type: text/plain;
name="error.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="error.log"

!SESSION 2006-01-31 15:13:59.500 -----------------------------------------------
eclipse.buildId=M20050929-0840
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ve.java.core 4 0 2006-01-31 15:14:21.46
!MESSAGE Exception thrown.
!STACK 0
java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:951)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:2272)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSa veImpl.java:889)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany (XMLSaveImpl.java:2001)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:1221)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:2272)
at org.eclipse.emf.ecore.xmi.impl.XMISaveImpl.writeTopObjects(X MISaveImpl.java:78)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveI mpl.java:478)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl. java:206)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLRes ourceImpl.java:193)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:893)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:813)
at org.eclipse.ve.internal.java.codegen.util.VEModelCacheUtilit y.doSaveCache(VEModelCacheUtility.java:158)
at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.doSave(JavaSourceTranslator.java:1358)
at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or$2.doRun(JavaSourceTranslator.java:923)
at org.eclipse.ve.internal.java.codegen.util.ReverseParserJob.r un(ReverseParserJob.java:56)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

!ENTRY org.eclipse.ui 4 4 2006-01-31 15:16:20.437
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-01-31 15:16:20.437
!MESSAGE Failed to execute runnable (java.lang.NullPointerException)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2942)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at org.eclipse.ve.internal.java.core.BeanPropertySourceAdapter. getPropertyValue(BeanPropertySourceAdapter.java:90)
at org.eclipse.ve.internal.swt.WidgetPropertySourceAdapter.getP ropertyValue(WidgetPropertySourceAdapter.java:365)
at org.eclipse.ve.internal.propertysheet.command.CommandStackPr opertySheetEntry.primGetValues(CommandStackPropertySheetEntr y.java:173)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshValues(AbstractPropertySheetEntry.java:892)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshChildEntries(AbstractPropertySheetEntry.java:823 )
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.setValues(AbstractPropertySheetEntry.java:1028)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:875)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:392)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:250)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:243)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:236)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 18 more

!ENTRY org.eclipse.ui 4 4 2006-01-31 15:16:22.937
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-01-31 15:16:22.937
!MESSAGE Failed to execute runnable (java.lang.NullPointerException)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2942)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at org.eclipse.ve.internal.java.core.BeanPropertySourceAdapter. getPropertyValue(BeanPropertySourceAdapter.java:90)
at org.eclipse.ve.internal.swt.WidgetPropertySourceAdapter.getP ropertyValue(WidgetPropertySourceAdapter.java:365)
at org.eclipse.ve.internal.propertysheet.command.CommandStackPr opertySheetEntry.primGetValues(CommandStackPropertySheetEntr y.java:173)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshValues(AbstractPropertySheetEntry.java:892)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshChildEntries(AbstractPropertySheetEntry.java:823 )
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.setValues(AbstractPropertySheetEntry.java:1028)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:875)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:392)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:250)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:243)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:236)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 18 more

!ENTRY org.eclipse.ui 4 4 2006-01-31 15:16:47.750
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-01-31 15:16:47.750
!MESSAGE Failed to execute runnable (java.lang.NullPointerException)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2942)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at org.eclipse.ve.internal.java.core.BeanPropertySourceAdapter. getPropertyValue(BeanPropertySourceAdapter.java:90)
at org.eclipse.ve.internal.swt.WidgetPropertySourceAdapter.getP ropertyValue(WidgetPropertySourceAdapter.java:365)
at org.eclipse.ve.internal.propertysheet.command.CommandStackPr opertySheetEntry.primGetValues(CommandStackPropertySheetEntr y.java:173)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshValues(AbstractPropertySheetEntry.java:892)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshChildEntries(AbstractPropertySheetEntry.java:823 )
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.setValues(AbstractPropertySheetEntry.java:1028)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:875)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:392)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:250)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:243)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:236)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 18 more

!ENTRY org.eclipse.ve.java.core 4 0 2006-01-31 15:17:50.625
!MESSAGE Exception thrown.
!STACK 0
java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:951)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:2272)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSa veImpl.java:889)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany (XMLSaveImpl.java:2001)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:1221)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:2272)
at org.eclipse.emf.ecore.xmi.impl.XMISaveImpl.writeTopObjects(X MISaveImpl.java:78)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveI mpl.java:478)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl. java:206)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLRes ourceImpl.java:193)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:893)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:813)
at org.eclipse.ve.internal.java.codegen.util.VEModelCacheUtilit y.doSaveCache(VEModelCacheUtility.java:158)
at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.doSave(JavaSourceTranslator.java:1358)
at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.doSave(JavaVisualEditorPart.java:2817)
at org.eclipse.ui.internal.SaveableHelper$1.run(SaveableHelper. java:95)
at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper. java:116)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:291)
at org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:624)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:621)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2134)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOpe ration(SaveableHelper.java:122)
at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelp er.java:100)
at org.eclipse.ui.internal.EditorManager.savePart(EditorManager .java:1154)
at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage .java:2714)
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPa ge.java:2727)
at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:69)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

!ENTRY org.eclipse.ui 4 4 2006-01-31 15:18:11.281
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-01-31 15:18:11.281
!MESSAGE Failed to execute runnable (java.lang.NullPointerException)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2942)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at org.eclipse.ve.internal.java.core.BeanPropertySourceAdapter. getPropertyValue(BeanPropertySourceAdapter.java:90)
at org.eclipse.ve.internal.swt.WidgetPropertySourceAdapter.getP ropertyValue(WidgetPropertySourceAdapter.java:365)
at org.eclipse.ve.internal.propertysheet.command.CommandStackPr opertySheetEntry.primGetValues(CommandStackPropertySheetEntr y.java:173)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshValues(AbstractPropertySheetEntry.java:892)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshChildEntries(AbstractPropertySheetEntry.java:823 )
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.setValues(AbstractPropertySheetEntry.java:1028)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:875)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:392)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:250)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:243)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:236)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 18 more

--------------060805010403000105080006--
Re: SWT Menubar [message #116470 is a reply to message #116458] Tue, 31 January 2006 13:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

We have a problem with a set of our caches. They sometimes get
corrupted. We've found a major reason why in just the last few weeks for
VE 1.2 and have fixed that one. This error is usually due to a cache
problem.

To clean the cache do the following:

1) Open a VE and then close it. Close all open VE's.
2) Go to Project->Clean...->Clean All and apply it. Then wait for build
the to complete.
3) Open a VE. It should now be ok.

--
Thanks,
Rich Kulp
Re: SWT Menubar [message #116497 is a reply to message #116470] Tue, 31 January 2006 14:10 Go to previous message
Eclipse UserFriend
Originally posted by: alexandre.gzsistemas.com.br

Rich Kulp escreveu:
> We have a problem with a set of our caches. They sometimes get
> corrupted. We've found a major reason why in just the last few weeks for
> VE 1.2 and have fixed that one. This error is usually due to a cache
> problem.
>
> To clean the cache do the following:
>
> 1) Open a VE and then close it. Close all open VE's.
> 2) Go to Project->Clean...->Clean All and apply it. Then wait for build
> the to complete.
> 3) Open a VE. It should now be ok.
>

Good ! Very good. Now it works.

Thank you again Rich.
Re: SWT Menubar [message #611881 is a reply to message #116017] Fri, 27 January 2006 09:29 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Did you try dropping it right on the MenuBar in the JavaBeans Viewer? If
there are no children to the MenuBar then you need to drop right on it.

--
Thanks,
Rich Kulp
Re: SWT Menubar [message #611882 is a reply to message #116046] Fri, 27 January 2006 10:15 Go to previous message
Eclipse UserFriend
Originally posted by: uli.spielviel.de

I tried to drop a "MenuItem.SubMenu"-item right on top of an empty
menuBar-item in the Java Beans view. Exactly how you described it...

Uli
Re: SWT Menubar [message #611891 is a reply to message #116057] Fri, 27 January 2006 14:43 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

That should of worked. Is there any errors in the .log file?

Ulrich Staerk wrote:
> I tried to drop a "MenuItem.SubMenu"-item right on top of an empty
> menuBar-item in the Java Beans view. Exactly how you described it...
>
> Uli
>

--
Thanks,
Rich Kulp
Re: SWT Menubar [message #611904 is a reply to message #116177] Tue, 31 January 2006 08:29 Go to previous message
Eclipse UserFriend
Rich Kulp escreveu:
> That should of worked. Is there any errors in the .log file?
>
> Ulrich Staerk wrote:
>> I tried to drop a "MenuItem.SubMenu"-item right on top of an empty
>> menuBar-item in the Java Beans view. Exactly how you described it...
>>
>> Uli
>>
>

Rich,

I have exactly the same problem. My configuration is Eclipse SDK 3.1.1,
GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1.

I'm running Eclipse on Windows XP Professional.

What can be wrong ?

Thanks.
Re: SWT Menubar [message #611906 is a reply to message #116404] Tue, 31 January 2006 11:07 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Are there any errors in the .log file? Did you try a clean cache?

Alexandre Boaventura wrote:
> Rich Kulp escreveu:
>
>> That should of worked. Is there any errors in the .log file?
>>
>> Ulrich Staerk wrote:
>>
>>> I tried to drop a "MenuItem.SubMenu"-item right on top of an empty
>>> menuBar-item in the Java Beans view. Exactly how you described it...
>>>
>>> Uli
>>>
>>
>
> Rich,
>
> I have exactly the same problem. My configuration is Eclipse SDK 3.1.1,
> GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1.
>
> I'm running Eclipse on Windows XP Professional.
>
> What can be wrong ?
>
> Thanks.

--
Thanks,
Rich Kulp
Re: SWT Menubar [message #611907 is a reply to message #116417] Tue, 31 January 2006 12:27 Go to previous message
Eclipse UserFriend
Rich Kulp escreveu:
> Are there any errors in the .log file? Did you try a clean cache?
>
> Alexandre Boaventura wrote:
>> Rich Kulp escreveu:
>>
>>> That should of worked. Is there any errors in the .log file?
>>>
>>> Ulrich Staerk wrote:
>>>
>>>> I tried to drop a "MenuItem.SubMenu"-item right on top of an empty
>>>> menuBar-item in the Java Beans view. Exactly how you described it...
>>>>
>>>> Uli
>>>>
>>>
>>
>> Rich,
>>
>> I have exactly the same problem. My configuration is Eclipse SDK
>> 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1.
>>
>> I'm running Eclipse on Windows XP Professional.
>>
>> What can be wrong ?
>>
>> Thanks.
>

Hi Rich,

Here is my log file. I've cleaned it before open Eclipse. The first
error occurs just by opening Eclipse.

It opened the last visual class I was working on. It was clean, with no
widgets. So, I inserted a Menu widget and tried to insert a MenuItem.

I hope this error log can help to find what is the problem.

Thank you.
Re: SWT Menubar [message #611910 is a reply to message #116425] Tue, 31 January 2006 13:01 Go to previous message
Eclipse UserFriend
This is a multi-part message in MIME format.
--------------060805010403000105080006
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Alexandre Boaventura escreveu:
> Rich Kulp escreveu:
>> Are there any errors in the .log file? Did you try a clean cache?
>>
>> Alexandre Boaventura wrote:
>>> Rich Kulp escreveu:
>>>
>>>> That should of worked. Is there any errors in the .log file?
>>>>
>>>> Ulrich Staerk wrote:
>>>>
>>>>> I tried to drop a "MenuItem.SubMenu"-item right on top of an empty
>>>>> menuBar-item in the Java Beans view. Exactly how you described it...
>>>>>
>>>>> Uli
>>>>>
>>>>
>>>
>>> Rich,
>>>
>>> I have exactly the same problem. My configuration is Eclipse SDK
>>> 3.1.1, GEF 3.1.1, EMF 2.1.1 and Visual Editor 1.1.0.1.
>>>
>>> I'm running Eclipse on Windows XP Professional.
>>>
>>> What can be wrong ?
>>>
>>> Thanks.
>>
>
> Hi Rich,
>
> Here is my log file. I've cleaned it before open Eclipse. The first
> error occurs just by opening Eclipse.
>
> It opened the last visual class I was working on. It was clean, with no
> widgets. So, I inserted a Menu widget and tried to insert a MenuItem.
>
> I hope this error log can help to find what is the problem.
>
> Thank you.


Now, the error log attached. Sorry.



--------------060805010403000105080006
Content-Type: text/plain;
name="error.log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="error.log"

!SESSION 2006-01-31 15:13:59.500 -----------------------------------------------
eclipse.buildId=M20050929-0840
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.ve.java.core 4 0 2006-01-31 15:14:21.46
!MESSAGE Exception thrown.
!STACK 0
java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:951)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:2272)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSa veImpl.java:889)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany (XMLSaveImpl.java:2001)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:1221)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:2272)
at org.eclipse.emf.ecore.xmi.impl.XMISaveImpl.writeTopObjects(X MISaveImpl.java:78)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveI mpl.java:478)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl. java:206)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLRes ourceImpl.java:193)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:893)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:813)
at org.eclipse.ve.internal.java.codegen.util.VEModelCacheUtilit y.doSaveCache(VEModelCacheUtility.java:158)
at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.doSave(JavaSourceTranslator.java:1358)
at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or$2.doRun(JavaSourceTranslator.java:923)
at org.eclipse.ve.internal.java.codegen.util.ReverseParserJob.r un(ReverseParserJob.java:56)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

!ENTRY org.eclipse.ui 4 4 2006-01-31 15:16:20.437
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-01-31 15:16:20.437
!MESSAGE Failed to execute runnable (java.lang.NullPointerException)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2942)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at org.eclipse.ve.internal.java.core.BeanPropertySourceAdapter. getPropertyValue(BeanPropertySourceAdapter.java:90)
at org.eclipse.ve.internal.swt.WidgetPropertySourceAdapter.getP ropertyValue(WidgetPropertySourceAdapter.java:365)
at org.eclipse.ve.internal.propertysheet.command.CommandStackPr opertySheetEntry.primGetValues(CommandStackPropertySheetEntr y.java:173)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshValues(AbstractPropertySheetEntry.java:892)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshChildEntries(AbstractPropertySheetEntry.java:823 )
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.setValues(AbstractPropertySheetEntry.java:1028)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:875)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:392)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:250)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:243)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:236)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 18 more

!ENTRY org.eclipse.ui 4 4 2006-01-31 15:16:22.937
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-01-31 15:16:22.937
!MESSAGE Failed to execute runnable (java.lang.NullPointerException)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2942)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at org.eclipse.ve.internal.java.core.BeanPropertySourceAdapter. getPropertyValue(BeanPropertySourceAdapter.java:90)
at org.eclipse.ve.internal.swt.WidgetPropertySourceAdapter.getP ropertyValue(WidgetPropertySourceAdapter.java:365)
at org.eclipse.ve.internal.propertysheet.command.CommandStackPr opertySheetEntry.primGetValues(CommandStackPropertySheetEntr y.java:173)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshValues(AbstractPropertySheetEntry.java:892)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshChildEntries(AbstractPropertySheetEntry.java:823 )
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.setValues(AbstractPropertySheetEntry.java:1028)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:875)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:392)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:250)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:243)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:236)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 18 more

!ENTRY org.eclipse.ui 4 4 2006-01-31 15:16:47.750
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-01-31 15:16:47.750
!MESSAGE Failed to execute runnable (java.lang.NullPointerException)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2942)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at org.eclipse.ve.internal.java.core.BeanPropertySourceAdapter. getPropertyValue(BeanPropertySourceAdapter.java:90)
at org.eclipse.ve.internal.swt.WidgetPropertySourceAdapter.getP ropertyValue(WidgetPropertySourceAdapter.java:365)
at org.eclipse.ve.internal.propertysheet.command.CommandStackPr opertySheetEntry.primGetValues(CommandStackPropertySheetEntr y.java:173)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshValues(AbstractPropertySheetEntry.java:892)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshChildEntries(AbstractPropertySheetEntry.java:823 )
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.setValues(AbstractPropertySheetEntry.java:1028)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:875)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:392)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:250)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:243)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:236)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 18 more

!ENTRY org.eclipse.ve.java.core 4 0 2006-01-31 15:17:50.625
!MESSAGE Exception thrown.
!STACK 0
java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:951)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:2272)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSa veImpl.java:889)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany (XMLSaveImpl.java:2001)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLS aveImpl.java:1221)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XML SaveImpl.java:2272)
at org.eclipse.emf.ecore.xmi.impl.XMISaveImpl.writeTopObjects(X MISaveImpl.java:78)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveI mpl.java:478)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl. java:206)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLRes ourceImpl.java:193)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:893)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:813)
at org.eclipse.ve.internal.java.codegen.util.VEModelCacheUtilit y.doSaveCache(VEModelCacheUtility.java:158)
at org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.doSave(JavaSourceTranslator.java:1358)
at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart.doSave(JavaVisualEditorPart.java:2817)
at org.eclipse.ui.internal.SaveableHelper$1.run(SaveableHelper. java:95)
at org.eclipse.ui.internal.SaveableHelper$2.run(SaveableHelper. java:116)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:346)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:291)
at org.eclipse.jface.window.ApplicationWindow$1.run(Application Window.java:624)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWi ndow.java:621)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2134)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOpe ration(SaveableHelper.java:122)
at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelp er.java:100)
at org.eclipse.ui.internal.EditorManager.savePart(EditorManager .java:1154)
at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage .java:2714)
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPa ge.java:2727)
at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:69)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:441)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

!ENTRY org.eclipse.ui 4 4 2006-01-31 15:18:11.281
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-01-31 15:18:11.281
!MESSAGE Failed to execute runnable (java.lang.NullPointerException)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2942)
at org.eclipse.swt.SWT.error(SWT.java:2865)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Caused by: java.lang.NullPointerException
at org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:790)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSettingDelegate (BasicEObjectImpl.java:822)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eDynamicIsSet(Ba sicEObjectImpl.java:609)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eIsSet(BasicEObj ectImpl.java:600)
at org.eclipse.ve.internal.java.core.BeanPropertySourceAdapter. getPropertyValue(BeanPropertySourceAdapter.java:90)
at org.eclipse.ve.internal.swt.WidgetPropertySourceAdapter.getP ropertyValue(WidgetPropertySourceAdapter.java:365)
at org.eclipse.ve.internal.propertysheet.command.CommandStackPr opertySheetEntry.primGetValues(CommandStackPropertySheetEntr y.java:173)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshValues(AbstractPropertySheetEntry.java:892)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshChildEntries(AbstractPropertySheetEntry.java:823 )
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.setValues(AbstractPropertySheetEntry.java:1028)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:875)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:392)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:250)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:243)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:236)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 18 more

--------------060805010403000105080006--
Re: SWT Menubar [message #611912 is a reply to message #116458] Tue, 31 January 2006 13:44 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

We have a problem with a set of our caches. They sometimes get
corrupted. We've found a major reason why in just the last few weeks for
VE 1.2 and have fixed that one. This error is usually due to a cache
problem.

To clean the cache do the following:

1) Open a VE and then close it. Close all open VE's.
2) Go to Project->Clean...->Clean All and apply it. Then wait for build
the to complete.
3) Open a VE. It should now be ok.

--
Thanks,
Rich Kulp
Re: SWT Menubar [message #611917 is a reply to message #116470] Tue, 31 January 2006 14:10 Go to previous message
Eclipse UserFriend
Rich Kulp escreveu:
> We have a problem with a set of our caches. They sometimes get
> corrupted. We've found a major reason why in just the last few weeks for
> VE 1.2 and have fixed that one. This error is usually due to a cache
> problem.
>
> To clean the cache do the following:
>
> 1) Open a VE and then close it. Close all open VE's.
> 2) Go to Project->Clean...->Clean All and apply it. Then wait for build
> the to complete.
> 3) Open a VE. It should now be ok.
>

Good ! Very good. Now it works.

Thank you again Rich.
Previous Topic:No SWT item in the palette
Next Topic:ve creates widgets by itself
Goto Forum:
  


Current Time: Thu May 08 08:51:53 EDT 2025

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

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

Back to the top