You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Piller Sébastien <pi...@hmcrecord.ch> on 2009/02/27 10:44:25 UTC

Wicket Bench error under Eclipse

Hi all,

I have some problems using the WicketBench plugin under Eclipse Ganymede.

It sometimes success in opening the files, and sometimes not. When it 
fails, I can see the following stack trace on Eclipse:

    java.lang.NullPointerException
        at
    com.eviware.soapui.eclipse.swt_awt.SwtAwtRequestEditor.init(SwtAwtRequestEditor.java:68)
        at
    org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:213)
        at
    org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:187)
        at
    wicketbench.eclipse.editor.WicketEditor.addPage(WicketEditor.java:211)
        at
    wicketbench.eclipse.editor.WicketEditor.createEditorsForNonJavaResources(WicketEditor.java:196)
        at
    wicketbench.eclipse.editor.WicketEditor.addEditors(WicketEditor.java:178)
        at
    wicketbench.eclipse.editor.WicketEditor.createPages(WicketEditor.java:77)
        at
    org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:310)
        at
    org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
        at
    org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
        at
    org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
        at
    org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
        at
    org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1410)
        at
    org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:944)
        at
    org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at
    org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
        at
    org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378)
        at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
        at
    org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at
    org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
        at
    org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at
    org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
        at
    org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378)
        at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
        at
    org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at
    org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
        at
    org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at
    org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at
    org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at
    org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
        at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)


The weird thing is that I don't modify anything on the source files, and 
it sometimes fails to open and sometimes not. Maybe it is some workspace 
issue? I guess I'm not the only one to get it

If I remember correctly, Igor is one of the writter of that plugin. 
Could anybody give me a fix?

Thanks in advance ;)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket Bench error under Eclipse

Posted by Piller Sébastien <pi...@hmcrecord.ch>.
Yes, it did the trick ;)

I desinstalled the SoapUI plugin, and the error has gone.

It seems that wicket bench and soapui are not compatible (but I can live 
without the soapui plugin)

Thank you ;)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket Bench error under Eclipse

Posted by Thomas Mäder <th...@devotek-it.ch>.
Looks like

com.eviware.soapui.eclipse.swt_awt.SwtAwtRequestEditor.init(SwtAwtRequestEditor.java:68)

is the culprit. I would guess that you only get the error when opening files
of a certain type (sth. related to SOAP, perhaps?). If so, try changing the
default editor for this particular file type
(preferences->General->Editors->File Associations)

hth

Thomas


On Fri, Feb 27, 2009 at 10:44 AM, Piller Sébastien <pi...@hmcrecord.ch>wrote:

> Hi all,
>
> I have some problems using the WicketBench plugin under Eclipse Ganymede.
>
> It sometimes success in opening the files, and sometimes not. When it
> fails, I can see the following stack trace on Eclipse:
>
>   java.lang.NullPointerException
>       at
>
> com.eviware.soapui.eclipse.swt_awt.SwtAwtRequestEditor.init(SwtAwtRequestEditor.java:68)
>       at
>
> org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:213)
>       at
>
> org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:187)
>       at
>   wicketbench.eclipse.editor.WicketEditor.addPage(WicketEditor.java:211)
>       at
>
> wicketbench.eclipse.editor.WicketEditor.createEditorsForNonJavaResources(WicketEditor.java:196)
>       at
>   wicketbench.eclipse.editor.WicketEditor.addEditors(WicketEditor.java:178)
>       at
>   wicketbench.eclipse.editor.WicketEditor.createPages(WicketEditor.java:77)
>       at
>
> org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:310)
>       at
>
> org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
>       at
>
> org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
>       at
>
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
>       at
>
> org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:263)
>       at
>
> org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1410)
>       at
>
> org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:944)
>       at
>
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
>       at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
>       at
>
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
>       at
>   org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378)
>       at
>   org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
>       at
>
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
>       at
>
> org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
>       at
>
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
>       at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
>       at
>
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
>       at
>   org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3378)
>       at
>   org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3036)
>       at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
>       at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
>       at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
>       at
>
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
>       at
>
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
>       at
>   org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>       at
>
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
>       at
>
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
>       at
>
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>       at
>
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>       at
>
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
>       at
>
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
>       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
>       at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
>
>
> The weird thing is that I don't modify anything on the source files, and it
> sometimes fails to open and sometimes not. Maybe it is some workspace issue?
> I guess I'm not the only one to get it
>
> If I remember correctly, Igor is one of the writter of that plugin. Could
> anybody give me a fix?
>
> Thanks in advance ;)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Wicket & Eclipse Consulting
www.devotek-it.ch
thomasmaeder.blogspot.com