Home » Archived » Visual Editor (VE) » No SWT Palette / InstantiationException / SWTException (Widget is disposed)
No SWT Palette / InstantiationException / SWTException (Widget is disposed) [message #64684] |
Tue, 05 October 2004 10:22 |
Eclipse User |
|
|
|
Originally posted by: alex.NO_SPAMnightlabs.de
Hi,
I have a strange problem. Two Eclipse-Plugins, both with the same build
path settings. As VE wont work without i additionally added
swt-mozilla.jar and swt-pi.jar to the build-path of BOTH projects.
Now opening Visual Editor for two equal files in these projects produces
different results. For project one everything is allright.
But in the second project Visual Editor does not display the Composite
instead a box is presented showing "this (/path/to/my/class/MyClass.java)".
A ToolTip over this box tells me : "size: org.eclipse.swt.SWTException
(Widget is disposed)"
Within the Palette all SWT entries are gone.
In the Error Log there are entries like:
ava.lang.InstantiationException: IWAV0125E "gridLayout" is too
complicated to be evaluated
at
org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.createBeanProxy(REMStandardBeanProxyFactory.java:262)
at
org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypePro xy.newInstance(REMAbstractBeanTypeProxy.java:323)
at
org.eclipse.ve.internal.java.core.BasicAllocationProcesser.i nstantiateWithString(BasicAllocationProcesser.java:210)
at
org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:149)
at
org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:120)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.beanProxy Allocation(BeanProxyAdapter.java:876)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:825)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:755)
at
org.eclipse.ve.internal.java.core.BeanProxyUtilities.getBean Proxy(BeanProxyUtilities.java:338)
at
org.eclipse.ve.internal.java.core.BeanCellRenderer.getText(B eanCellRenderer.java:64)
at
org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.getValueAsString(AbstractPropertySheetEntry.java:722)
[snip]
OR
java.lang.InstantiationException: IWAV0125E "myData" is too complicated
to be evaluated
at
org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.createBeanProxy(REMStandardBeanProxyFactory.java:262)
at
org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypePro xy.newInstance(REMAbstractBeanTypeProxy.java:323)
at
org.eclipse.ve.internal.java.core.BasicAllocationProcesser.i nstantiateWithString(BasicAllocationProcesser.java:210)
at
org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:149)
at
org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:120)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.beanProxy Allocation(BeanProxyAdapter.java:876)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:825)
at
org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:755)
at
org.eclipse.ve.internal.java.core.BeanProxyUtilities.getBean Proxy(BeanProxyUtilities.java:338)
at
org.eclipse.ve.internal.java.core.BeanCellRenderer.getText(B eanCellRenderer.java:64)
at
org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.getValueAsString(AbstractPropertySheetEntry.java:722)
[snip]
ANY SUGGESTIONS ???
Thanks, Alex
|
|
|
Re: No SWT Palette / InstantiationException / SWTException (Widget is disposed) [message #64709 is a reply to message #64684] |
Tue, 05 October 2004 10:25 |
Eclipse User |
|
|
|
Originally posted by: alex.NO_SPAMnightlabs.de
Oh,
forgot to mention:
Eclipse 3.0.1 (Linux/GTK) / EMF 2.0.1 / GEF 3.0.1 / VE 1.0.1
Alex
Alexander Bieber wrote:
> Hi,
>
> I have a strange problem. Two Eclipse-Plugins, both with the same build
> path settings. As VE wont work without i additionally added
> swt-mozilla.jar and swt-pi.jar to the build-path of BOTH projects.
>
> Now opening Visual Editor for two equal files in these projects produces
> different results. For project one everything is allright.
>
> But in the second project Visual Editor does not display the Composite
> instead a box is presented showing "this (/path/to/my/class/MyClass.java)".
>
> A ToolTip over this box tells me : "size: org.eclipse.swt.SWTException
> (Widget is disposed)"
>
> Within the Palette all SWT entries are gone.
>
> In the Error Log there are entries like:
>
> ava.lang.InstantiationException: IWAV0125E "gridLayout" is too
> complicated to be evaluated
> at
> org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.createBeanProxy(REMStandardBeanProxyFactory.java:262)
>
> at
> org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypePro xy.newInstance(REMAbstractBeanTypeProxy.java:323)
>
> at
> org.eclipse.ve.internal.java.core.BasicAllocationProcesser.i nstantiateWithString(BasicAllocationProcesser.java:210)
>
> at
> org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:149)
>
> at
> org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:120)
>
> at
> org.eclipse.ve.internal.java.core.BeanProxyAdapter.beanProxy Allocation(BeanProxyAdapter.java:876)
>
> at
> org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:825)
>
> at
> org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:755)
>
> at
> org.eclipse.ve.internal.java.core.BeanProxyUtilities.getBean Proxy(BeanProxyUtilities.java:338)
>
> at
> org.eclipse.ve.internal.java.core.BeanCellRenderer.getText(B eanCellRenderer.java:64)
>
> at
> org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.getValueAsString(AbstractPropertySheetEntry.java:722)
>
> [snip]
>
> OR
>
> java.lang.InstantiationException: IWAV0125E "myData" is too complicated
> to be evaluated
> at
> org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.createBeanProxy(REMStandardBeanProxyFactory.java:262)
>
> at
> org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypePro xy.newInstance(REMAbstractBeanTypeProxy.java:323)
>
> at
> org.eclipse.ve.internal.java.core.BasicAllocationProcesser.i nstantiateWithString(BasicAllocationProcesser.java:210)
>
> at
> org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:149)
>
> at
> org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:120)
>
> at
> org.eclipse.ve.internal.java.core.BeanProxyAdapter.beanProxy Allocation(BeanProxyAdapter.java:876)
>
> at
> org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:825)
>
> at
> org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:755)
>
> at
> org.eclipse.ve.internal.java.core.BeanProxyUtilities.getBean Proxy(BeanProxyUtilities.java:338)
>
> at
> org.eclipse.ve.internal.java.core.BeanCellRenderer.getText(B eanCellRenderer.java:64)
>
> at
> org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.getValueAsString(AbstractPropertySheetEntry.java:722)
>
> [snip]
>
>
> ANY SUGGESTIONS ???
>
> Thanks, Alex
|
|
| | |
Re: No SWT Palette / InstantiationException / SWTException (Widget is disposed) [message #65070 is a reply to message #65049] |
Tue, 05 October 2004 19:58 |
Eclipse User |
|
|
|
Originally posted by: myersj.nospam.gmail.com
Rich Kulp wrote:
> For now you need to add those (swt-mozilla.jar and swt-pi.jar) by hand
> when you are on GTK if you are using the browser widget.
Just a quick note, swt-pi.jar is required even if you're not using the
browser widget. That jar contains all of the GTK-specific internal SWT
packages. The same is true when working with SWT on OS X.
- Jeff
|
|
|
Re: No SWT Palette / InstantiationException / SWTException (Widget is disposed) [message #65178 is a reply to message #65049] |
Wed, 06 October 2004 09:23 |
Eclipse User |
|
|
|
Originally posted by: alex.NO_SPAMnightlabs.de
This is a multi-part message in MIME format.
--------------020800080002000304010008
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Hi everybody,
thanks for the quick answers.
Gili Mendel wrote:
> Are both UI plugins? there must be some diff.
OK, there is a diff. The plugins do different things. The "good plugin"
is a simple UI-Plugin created with a wizard. It has one simple View.
The "bad one" defines a Product, an Application and an Extension-Point,
but it has the same plugin dependencies (plus one additional
"library-plugin" of mine wich by now only serves log4j and xerces).
> close and open the (bad plugin) project
> delete the .log, open the "bad plugin"'s file with the VE, and
> attache the .log.
..log attaced
Rich Kulp wrote:
> As for the other problem, I don't know. Could you please attach your
> plugin.xml in the project that doesn't work, plus the class that doesn't
> work so we can see if anything funny?
done
Oh, by the way, is there an equivalent for JPasswordField in SWT?
OK, hope we can figure this out ...
Thanks Alex
--------------020800080002000304010008
Content-Type: text/xml;
name="plugin.xml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="plugin.xml"
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="com.nightlabs.ipanema.rcp"
name="%pluginName"
version="1.0.0"
provider-name="%providerName">
<runtime>
<library name="ipanemaApp.jar">
<export name="*"/>
</library>
</runtime>
<requires>
<import plugin="com.nightlabs.base"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.ui"/>
</requires>
<extension-point
id="eventloopexceptionhandler"
name="Defines handler for EventLoopExceptions"
schema=" schema/com.nightlabs.ipanema.rcp.eventloopexceptionhandler.e xsd "
/>
<extension
point="org.eclipse.core.runtime.applications"
id="app"
name="%appName">
<application>
<run
class="com.nightlabs.ipanema.rcp.app.IpanemaApplication">
</run>
</application>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
id=" com.nightlabs.ipanema.rcp.perspective.IpanemaWelcomePerspect ive "
name="%perspectives.ipanemaWelcome.name"
class=" com.nightlabs.ipanema.rcp.plugins.perspective.IpanemaWelcome PerspectiveFactory "
fixed="true"/>
</extension>
<extension
point="org.eclipse.core.runtime.products"
id="product">
<product
name="%productName"
application="com.nightlabs.ipanema.rcp.app">
<property
name="appName"
value="%swtAppName"/>
<property
name="windowImages"
value="icons/Ipanema-Icon.gif,icons/Ipanema-Icon.gif"/>
<property
name="aboutText"
value="%aboutText"/>
<property
name="aboutImage"
value="icons/Ipanema-Logo.gif"/>
</product>
</extension>
<extension
id=" com.nightlabs.ipanema.rcp.eventloopexceptionhandler.Throwabl eHandler "
name="Exception Handler for Throwable"
point="com.nightlabs.ipanema.rcp.eventloopexceptionhandler" >
<exceptionHandler targetType="java.lang.Throwable" class="com.nightlabs.ipanema.rcp.exceptionhandler.ThrowableHandler "/>
</extension>
</plugin>
--------------020800080002000304010008
Content-Type: text/plain;
name=".log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename=".log"
!ENTRY org.eclipse.jem.proxy 2 0 Oct 06, 2004 11:22:26.324
!MESSAGE java.lang.RuntimeException
at org.eclipse.jem.internal.proxy.initParser.Static.evaluate(St atic.java:123)
at org.eclipse.jem.internal.proxy.initParser.InitializationStri ngParser.evaluate(InitializationStringParser.java:157)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un(ConnectionHandler.java:240)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n(ConnectionThread.java:47)
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.324
!MESSAGE
+++ Warning +++: Wed Oct 06 11:22:26 CEST 2004 Could not instantiate org.eclipse.swt.widgets.Layout with initialization string=gridLayoutStatic
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.325
!MESSAGE Exception thrown.
!STACK 0
java.lang.InstantiationException: IWAV0125E "gridLayoutStatic" is too complicated to be evaluated
at org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.createBeanProxy(REMStandardBeanProxyFactory.java:262)
at org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypePro xy.newInstance(REMAbstractBeanTypeProxy.java:323)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.i nstantiateWithString(BasicAllocationProcesser.java:210)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:149)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:120)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.beanProxy Allocation(BeanProxyAdapter.java:876)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:825)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:755)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.applied(B eanProxyAdapter.java:251)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.applyAllS ettings(BeanProxyAdapter.java:537)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:757)
at org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itSetting(CompositionProxyAdapter.java:158)
at org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:119)
at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1488)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
!ENTRY org.eclipse.jem.proxy 2 0 Oct 06, 2004 11:22:26.441
!MESSAGE java.lang.RuntimeException
at org.eclipse.jem.internal.proxy.initParser.Static.evaluate(St atic.java:123)
at org.eclipse.jem.internal.proxy.initParser.InitializationStri ngParser.evaluate(InitializationStringParser.java:157)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un(ConnectionHandler.java:240)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n(ConnectionThread.java:47)
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.442
!MESSAGE
+++ Warning +++: Wed Oct 06 11:22:26 CEST 2004 Could not instantiate org.eclipse.swt.widgets.Layout with initialization string=gridLayoutStatic
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.442
!MESSAGE Exception thrown.
!STACK 0
java.lang.InstantiationException: IWAV0125E "gridLayoutStatic" is too complicated to be evaluated
at org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.createBeanProxy(REMStandardBeanProxyFactory.java:262)
at org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypePro xy.newInstance(REMAbstractBeanTypeProxy.java:323)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.i nstantiateWithString(BasicAllocationProcesser.java:210)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:149)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:120)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.beanProxy Allocation(BeanProxyAdapter.java:876)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:825)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:755)
at org.eclipse.ve.internal.java.core.BeanProxyUtilities.getBean Proxy(BeanProxyUtilities.java:338)
at org.eclipse.ve.internal.java.core.BeanCellRenderer.getText(B eanCellRenderer.java:64)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.getValueAsString(AbstractPropertySheetEntry.java:722)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateEn try(PropertySheetViewer.java:1123)
at org.eclipse.ui.views.properties.PropertySheetViewer.createIt em(PropertySheetViewer.java:346)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateCh ildrenOf(PropertySheetViewer.java:1078)
at org.eclipse.ui.views.properties.PropertySheetViewer.access$2 (PropertySheetViewer.java:999)
at org.eclipse.ui.views.properties.PropertySheetViewer$2.childE ntriesChanged(PropertySheetViewer.java:298)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.fireChildEntriesChanged(AbstractPropertySheetEntry.java :373)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshChildEntries(AbstractPropertySheetEntry.java:831 )
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.setValues(AbstractPropertySheetEntry.java:1013)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:805)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:370)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:254)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:247)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:240)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2572)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2301)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!ENTRY org.eclipse.jem.proxy 2 0 Oct 06, 2004 11:22:26.450
!MESSAGE java.lang.RuntimeException
at org.eclipse.jem.internal.proxy.initParser.Static.evaluate(St atic.java:123)
at org.eclipse.jem.internal.proxy.initParser.InitializationStri ngParser.evaluate(InitializationStringParser.java:157)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un(ConnectionHandler.java:240)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n(ConnectionThread.java:47)
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.451
!MESSAGE
+++ Warning +++: Wed Oct 06 11:22:26 CEST 2004 Could not instantiate org.eclipse.swt.widgets.Layout with initialization string=gridLayoutStatic
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.452
!MESSAGE Exception thrown.
!STACK 0
java.lang.InstantiationException: IWAV0125E "gridLayoutStatic" is too complicated to be evaluated
at org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.createBeanProxy(REMStandardBeanProxyFactory.java:262)
at org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypePro xy.newInstance(REMAbstractBeanTypeProxy.java:323)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.i nstantiateWithString(BasicAllocationProcesser.java:210)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:149)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:120)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.beanProxy Allocation(BeanProxyAdapter.java:876)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:825)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:755)
at org.eclipse.ve.internal.java.core.BeanProxyUtilities.getBean Proxy(BeanProxyUtilities.java:338)
at org.eclipse.ve.internal.java.core.BeanCellRenderer.getText(B eanCellRenderer.java:64)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.getValueAsString(AbstractPropertySheetEntry.java:722)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateEn try(PropertySheetViewer.java:1123)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateCh ildrenOf(PropertySheetViewer.java:1099)
at org.eclipse.ui.views.properties.PropertySheetViewer.access$2 (PropertySheetViewer.java:999)
at org.eclipse.ui.views.properties.PropertySheetViewer$2.childE ntriesChanged(PropertySheetViewer.java:298)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.fireChildEntriesChanged(AbstractPropertySheetEntry.java :373)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshChildEntries(AbstractPropertySheetEntry.java:831 )
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.setValues(AbstractPropertySheetEntry.java:1013)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:805)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:370)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:254)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:247)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:240)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2572)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2301)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!ENTRY org.eclipse.jem.proxy 2 0 Oct 06, 2004 11:22:26.460
!MESSAGE java.lang.RuntimeException
at org.eclipse.jem.internal.proxy.initParser.Static.evaluate(St atic.java:123)
at org.eclipse.jem.internal.proxy.initParser.InitializationStri ngParser.evaluate(InitializationStringParser.java:157)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un(ConnectionHandler.java:240)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n(ConnectionThread.java:47)
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.460
!MESSAGE
+++ Warning +++: Wed Oct 06 11:22:26 CEST 2004 Could not instantiate org.eclipse.swt.widgets.Layout with initialization string=gridLayoutStatic
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.461
!MESSAGE Exception thrown.
!STACK 0
java.lang.InstantiationException: IWAV0125E "gridLayoutStatic" is too complicated to be evaluated
at org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.createBeanProxy(REMStandardBeanProxyFactory.java:262)
at org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypePro xy.newInstance(REMAbstractBeanTypeProxy.java:323)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.i nstantiateWithString(BasicAllocationProcesser.java:210)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:149)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:120)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.beanProxy Allocation(BeanProxyAdapter.java:876)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:825)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:755)
at org.eclipse.ve.internal.java.core.BeanProxyUtilities.getBean Proxy(BeanProxyUtilities.java:338)
at org.eclipse.ve.internal.java.core.BeanCellRenderer.getText(B eanCellRenderer.java:64)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.getValueAsString(AbstractPropertySheetEntry.java:722)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateEn try(PropertySheetViewer.java:1123)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateCh ildrenOf(PropertySheetViewer.java:1099)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:807)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:370)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:254)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:247)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:240)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2572)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2301)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
--------------020800080002000304010008
Content-Type: text/x-java;
name="LoginDialogStaticArea.java"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="LoginDialogStaticArea.java"
/*
* Created on Oct 5, 2004
* by Alexander Bieber
*
*/
package com.nightlabs.ipanema.rcp.login;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.layout.GridData;
/**
* @author Alexander Bieber
*/
public class LoginDialogStaticArea extends Composite {
private Label labelUserID = null;
private Text textUserID = null;
private Label labelPassword = null;
private Text textPassword = null;
public LoginDialogStaticArea(Composite parent, int style, LoginConfigModule loginConfigModule) {
super(parent, style);
initialize();
}
private void initialize() {
GridData gridData5 = new GridData();
GridData gridData4 = new GridData();
GridLayout gridLayoutStatic = new GridLayout();
labelUserID = new Label(this, SWT.NONE);
textUserID = new Text(this, SWT.NONE);
labelPassword = new Label(this, SWT.NONE);
textPassword = new Text(this, SWT.NONE);
this.setLayout(gridLayoutStatic);
gridLayoutStatic.numColumns = 2;
labelUserID.setText("Username: ");
gridData4.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
gridData4.grabExcessHorizontalSpace = true;
textUserID.setLayoutData(gridData4);
labelPassword.setText("Password: ");
gridData5.grabExcessHorizontalSpace = true;
gridData5.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
textPassword.setLayoutData(gridData5);
setSize(new org.eclipse.swt.graphics.Point(214,62));
}
public Label getLabelPassword() {
return labelPassword;
}
public Label getLabelUserID() {
return labelUserID;
}
public Text getTextPassword() {
return textPassword;
}
public Text getTextUserID() {
return textUserID;
}
} // @jve:decl-index=0:visual-constraint="10,10"
--------------020800080002000304010008--
|
|
| | | | | |
Re: No SWT Palette / InstantiationException / SWTException (Widget is disposed) [message #600934 is a reply to message #65049] |
Wed, 06 October 2004 09:23 |
Alexander Bieber Messages: 44 Registered: July 2009 |
Member |
|
|
This is a multi-part message in MIME format.
--------------020800080002000304010008
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Hi everybody,
thanks for the quick answers.
Gili Mendel wrote:
> Are both UI plugins? there must be some diff.
OK, there is a diff. The plugins do different things. The "good plugin"
is a simple UI-Plugin created with a wizard. It has one simple View.
The "bad one" defines a Product, an Application and an Extension-Point,
but it has the same plugin dependencies (plus one additional
"library-plugin" of mine wich by now only serves log4j and xerces).
> close and open the (bad plugin) project
> delete the .log, open the "bad plugin"'s file with the VE, and
> attache the .log.
..log attaced
Rich Kulp wrote:
> As for the other problem, I don't know. Could you please attach your
> plugin.xml in the project that doesn't work, plus the class that doesn't
> work so we can see if anything funny?
done
Oh, by the way, is there an equivalent for JPasswordField in SWT?
OK, hope we can figure this out ...
Thanks Alex
--------------020800080002000304010008
Content-Type: text/xml;
name="plugin.xml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="plugin.xml"
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="com.nightlabs.ipanema.rcp"
name="%pluginName"
version="1.0.0"
provider-name="%providerName">
<runtime>
<library name="ipanemaApp.jar">
<export name="*"/>
</library>
</runtime>
<requires>
<import plugin="com.nightlabs.base"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.ui"/>
</requires>
<extension-point
id="eventloopexceptionhandler"
name="Defines handler for EventLoopExceptions"
schema=" schema/com.nightlabs.ipanema.rcp.eventloopexceptionhandler.e xsd "
/>
<extension
point="org.eclipse.core.runtime.applications"
id="app"
name="%appName">
<application>
<run
class="com.nightlabs.ipanema.rcp.app.IpanemaApplication">
</run>
</application>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
id=" com.nightlabs.ipanema.rcp.perspective.IpanemaWelcomePerspect ive "
name="%perspectives.ipanemaWelcome.name"
class=" com.nightlabs.ipanema.rcp.plugins.perspective.IpanemaWelcome PerspectiveFactory "
fixed="true"/>
</extension>
<extension
point="org.eclipse.core.runtime.products"
id="product">
<product
name="%productName"
application="com.nightlabs.ipanema.rcp.app">
<property
name="appName"
value="%swtAppName"/>
<property
name="windowImages"
value="icons/Ipanema-Icon.gif,icons/Ipanema-Icon.gif"/>
<property
name="aboutText"
value="%aboutText"/>
<property
name="aboutImage"
value="icons/Ipanema-Logo.gif"/>
</product>
</extension>
<extension
id=" com.nightlabs.ipanema.rcp.eventloopexceptionhandler.Throwabl eHandler "
name="Exception Handler for Throwable"
point="com.nightlabs.ipanema.rcp.eventloopexceptionhandler" >
<exceptionHandler targetType="java.lang.Throwable" class="com.nightlabs.ipanema.rcp.exceptionhandler.ThrowableHandler "/>
</extension>
</plugin>
--------------020800080002000304010008
Content-Type: text/plain;
name=".log"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename=".log"
!ENTRY org.eclipse.jem.proxy 2 0 Oct 06, 2004 11:22:26.324
!MESSAGE java.lang.RuntimeException
at org.eclipse.jem.internal.proxy.initParser.Static.evaluate(St atic.java:123)
at org.eclipse.jem.internal.proxy.initParser.InitializationStri ngParser.evaluate(InitializationStringParser.java:157)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un(ConnectionHandler.java:240)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n(ConnectionThread.java:47)
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.324
!MESSAGE
+++ Warning +++: Wed Oct 06 11:22:26 CEST 2004 Could not instantiate org.eclipse.swt.widgets.Layout with initialization string=gridLayoutStatic
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.325
!MESSAGE Exception thrown.
!STACK 0
java.lang.InstantiationException: IWAV0125E "gridLayoutStatic" is too complicated to be evaluated
at org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.createBeanProxy(REMStandardBeanProxyFactory.java:262)
at org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypePro xy.newInstance(REMAbstractBeanTypeProxy.java:323)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.i nstantiateWithString(BasicAllocationProcesser.java:210)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:149)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:120)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.beanProxy Allocation(BeanProxyAdapter.java:876)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:825)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:755)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.applied(B eanProxyAdapter.java:251)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.applyAllS ettings(BeanProxyAdapter.java:537)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:757)
at org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itSetting(CompositionProxyAdapter.java:158)
at org.eclipse.ve.internal.java.core.CompositionProxyAdapter.in itBeanProxy(CompositionProxyAdapter.java:119)
at org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.run(JavaVisualEditorPart.java:1488)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
!ENTRY org.eclipse.jem.proxy 2 0 Oct 06, 2004 11:22:26.441
!MESSAGE java.lang.RuntimeException
at org.eclipse.jem.internal.proxy.initParser.Static.evaluate(St atic.java:123)
at org.eclipse.jem.internal.proxy.initParser.InitializationStri ngParser.evaluate(InitializationStringParser.java:157)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un(ConnectionHandler.java:240)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n(ConnectionThread.java:47)
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.442
!MESSAGE
+++ Warning +++: Wed Oct 06 11:22:26 CEST 2004 Could not instantiate org.eclipse.swt.widgets.Layout with initialization string=gridLayoutStatic
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.442
!MESSAGE Exception thrown.
!STACK 0
java.lang.InstantiationException: IWAV0125E "gridLayoutStatic" is too complicated to be evaluated
at org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.createBeanProxy(REMStandardBeanProxyFactory.java:262)
at org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypePro xy.newInstance(REMAbstractBeanTypeProxy.java:323)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.i nstantiateWithString(BasicAllocationProcesser.java:210)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:149)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:120)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.beanProxy Allocation(BeanProxyAdapter.java:876)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:825)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:755)
at org.eclipse.ve.internal.java.core.BeanProxyUtilities.getBean Proxy(BeanProxyUtilities.java:338)
at org.eclipse.ve.internal.java.core.BeanCellRenderer.getText(B eanCellRenderer.java:64)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.getValueAsString(AbstractPropertySheetEntry.java:722)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateEn try(PropertySheetViewer.java:1123)
at org.eclipse.ui.views.properties.PropertySheetViewer.createIt em(PropertySheetViewer.java:346)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateCh ildrenOf(PropertySheetViewer.java:1078)
at org.eclipse.ui.views.properties.PropertySheetViewer.access$2 (PropertySheetViewer.java:999)
at org.eclipse.ui.views.properties.PropertySheetViewer$2.childE ntriesChanged(PropertySheetViewer.java:298)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.fireChildEntriesChanged(AbstractPropertySheetEntry.java :373)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshChildEntries(AbstractPropertySheetEntry.java:831 )
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.setValues(AbstractPropertySheetEntry.java:1013)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:805)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:370)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:254)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:247)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:240)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2572)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2301)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!ENTRY org.eclipse.jem.proxy 2 0 Oct 06, 2004 11:22:26.450
!MESSAGE java.lang.RuntimeException
at org.eclipse.jem.internal.proxy.initParser.Static.evaluate(St atic.java:123)
at org.eclipse.jem.internal.proxy.initParser.InitializationStri ngParser.evaluate(InitializationStringParser.java:157)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un(ConnectionHandler.java:240)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n(ConnectionThread.java:47)
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.451
!MESSAGE
+++ Warning +++: Wed Oct 06 11:22:26 CEST 2004 Could not instantiate org.eclipse.swt.widgets.Layout with initialization string=gridLayoutStatic
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.452
!MESSAGE Exception thrown.
!STACK 0
java.lang.InstantiationException: IWAV0125E "gridLayoutStatic" is too complicated to be evaluated
at org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.createBeanProxy(REMStandardBeanProxyFactory.java:262)
at org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypePro xy.newInstance(REMAbstractBeanTypeProxy.java:323)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.i nstantiateWithString(BasicAllocationProcesser.java:210)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:149)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:120)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.beanProxy Allocation(BeanProxyAdapter.java:876)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:825)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:755)
at org.eclipse.ve.internal.java.core.BeanProxyUtilities.getBean Proxy(BeanProxyUtilities.java:338)
at org.eclipse.ve.internal.java.core.BeanCellRenderer.getText(B eanCellRenderer.java:64)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.getValueAsString(AbstractPropertySheetEntry.java:722)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateEn try(PropertySheetViewer.java:1123)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateCh ildrenOf(PropertySheetViewer.java:1099)
at org.eclipse.ui.views.properties.PropertySheetViewer.access$2 (PropertySheetViewer.java:999)
at org.eclipse.ui.views.properties.PropertySheetViewer$2.childE ntriesChanged(PropertySheetViewer.java:298)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.fireChildEntriesChanged(AbstractPropertySheetEntry.java :373)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.refreshChildEntries(AbstractPropertySheetEntry.java:831 )
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.setValues(AbstractPropertySheetEntry.java:1013)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:805)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:370)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:254)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:247)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:240)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2572)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2301)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!ENTRY org.eclipse.jem.proxy 2 0 Oct 06, 2004 11:22:26.460
!MESSAGE java.lang.RuntimeException
at org.eclipse.jem.internal.proxy.initParser.Static.evaluate(St atic.java:123)
at org.eclipse.jem.internal.proxy.initParser.InitializationStri ngParser.evaluate(InitializationStringParser.java:157)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionHandler.r un(ConnectionHandler.java:240)
at org.eclipse.jem.internal.proxy.vm.remote.ConnectionThread.ru n(ConnectionThread.java:47)
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.460
!MESSAGE
+++ Warning +++: Wed Oct 06 11:22:26 CEST 2004 Could not instantiate org.eclipse.swt.widgets.Layout with initialization string=gridLayoutStatic
!ENTRY org.eclipse.ve.java.core 2 0 Oct 06, 2004 11:22:26.461
!MESSAGE Exception thrown.
!STACK 0
java.lang.InstantiationException: IWAV0125E "gridLayoutStatic" is too complicated to be evaluated
at org.eclipse.jem.internal.proxy.remote.REMStandardBeanProxyFa ctory.createBeanProxy(REMStandardBeanProxyFactory.java:262)
at org.eclipse.jem.internal.proxy.remote.REMAbstractBeanTypePro xy.newInstance(REMAbstractBeanTypeProxy.java:323)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.i nstantiateWithString(BasicAllocationProcesser.java:210)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:149)
at org.eclipse.ve.internal.java.core.BasicAllocationProcesser.a llocate(BasicAllocationProcesser.java:120)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.beanProxy Allocation(BeanProxyAdapter.java:876)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.primInsta ntiateBeanProxy(BeanProxyAdapter.java:825)
at org.eclipse.ve.internal.java.core.BeanProxyAdapter.instantia teBeanProxy(BeanProxyAdapter.java:755)
at org.eclipse.ve.internal.java.core.BeanProxyUtilities.getBean Proxy(BeanProxyUtilities.java:338)
at org.eclipse.ve.internal.java.core.BeanCellRenderer.getText(B eanCellRenderer.java:64)
at org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.getValueAsString(AbstractPropertySheetEntry.java:722)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateEn try(PropertySheetViewer.java:1123)
at org.eclipse.ui.views.properties.PropertySheetViewer.updateCh ildrenOf(PropertySheetViewer.java:1099)
at org.eclipse.ui.views.properties.PropertySheetViewer.setInput (PropertySheetViewer.java:807)
at org.eclipse.ui.views.properties.PropertySheetPage.selectionC hanged(PropertySheetPage.java:370)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.superSelectionChanged(EToolsPropertySheetPage.java:254)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e.access$2(EToolsPropertySheetPage.java:247)
at org.eclipse.ve.internal.propertysheet.EToolsPropertySheetPag e$1.run(EToolsPropertySheetPage.java:240)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2572)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2301)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
--------------020800080002000304010008
Content-Type: text/x-java;
name="LoginDialogStaticArea.java"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="LoginDialogStaticArea.java"
/*
* Created on Oct 5, 2004
* by Alexander Bieber
*
*/
package com.nightlabs.ipanema.rcp.login;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.layout.GridData;
/**
* @author Alexander Bieber
*/
public class LoginDialogStaticArea extends Composite {
private Label labelUserID = null;
private Text textUserID = null;
private Label labelPassword = null;
private Text textPassword = null;
public LoginDialogStaticArea(Composite parent, int style, LoginConfigModule loginConfigModule) {
super(parent, style);
initialize();
}
private void initialize() {
GridData gridData5 = new GridData();
GridData gridData4 = new GridData();
GridLayout gridLayoutStatic = new GridLayout();
labelUserID = new Label(this, SWT.NONE);
textUserID = new Text(this, SWT.NONE);
labelPassword = new Label(this, SWT.NONE);
textPassword = new Text(this, SWT.NONE);
this.setLayout(gridLayoutStatic);
gridLayoutStatic.numColumns = 2;
labelUserID.setText("Username: ");
gridData4.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
gridData4.grabExcessHorizontalSpace = true;
textUserID.setLayoutData(gridData4);
labelPassword.setText("Password: ");
gridData5.grabExcessHorizontalSpace = true;
gridData5.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
textPassword.setLayoutData(gridData5);
setSize(new org.eclipse.swt.graphics.Point(214,62));
}
public Label getLabelPassword() {
return labelPassword;
}
public Label getLabelUserID() {
return labelUserID;
}
public Text getTextPassword() {
return textPassword;
}
public Text getTextUserID() {
return textUserID;
}
} // @jve:decl-index=0:visual-constraint="10,10"
--------------020800080002000304010008--
|
|
| |
Goto Forum:
Current Time: Sat Dec 21 16:24:17 GMT 2024
Powered by FUDForum. Page generated in 0.04946 seconds
|