You experience exactly the behaviour I had before my patch. Either, you are not 
running the same code as me or you found something else.

My patch is supposed to reset the height of the WOD panel if the ratio read 
from the prefs is bellow 15% to make sure enough of it is visible. The crash I 
fixed occurred when the WOD editor became not visible.

I tried to set my preferences with your value (the default one) my component 
editor open with a WOD taking 50% of the space, no crash.

Have you tried to completely delete the WOLips plugin from your eclipse by 
deleting the jars with names like "org.objectstyle.wolips.*" inside the plugin 
directory in your eclipse installation after uninstalling it ? Uninstalling 
does not remove everything.

BTW, my Eclipse Version: Luna Service Release 2 (4.4.2), Build id: 20150219-0600

Samuel

> Le 2015-04-30 à 12:02, Gavin Eadie <ga...@umich.edu> a écrit :
> 
> OK .. Continuing to appreciate the assistance:
> 
> Samuel: Are you using the build from Jenkins? --- Yes
> 
> For what it's worth: org.objectstyle.wolips.componenteditor.sashWeights=1000
> 
> Also: Moving to a new workspace isn't a solution --- Still getting errors in 
> the WOD editor (on opening a second WOD panel):
> 
> !ENTRY org.eclipse.ui.workbench 4 2 2015-04-30 11:49:12.420
> !MESSAGE Problems occurred when invoking code from plug-in: 
> "org.eclipse.ui.workbench".
> !STACK 0
> java.lang.NullPointerException
>       at 
> org.eclipse.ui.internal.NavigationHistory$1.updateNavigationHistory(NavigationHistory.java:123)
>       at 
> org.eclipse.ui.internal.NavigationHistory$1.partClosed(NavigationHistory.java:100)
>       at org.eclipse.ui.internal.WorkbenchPage$23.run(WorkbenchPage.java:4966)
>       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>       at 
> org.eclipse.ui.internal.WorkbenchPage.firePartClosed(WorkbenchPage.java:4963)
>       at 
> org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$1.handleEvent(CompatibilityPart.java:98)
>       at 
> org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
>       at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
>       at 
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
>       at org.eclipse.swt.widgets.Display.syncExec(Display.java:4732)
>       at 
> org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:218)
>       at 
> org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
>       at 
> org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
>       at 
> org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
>       at 
> org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
>       at 
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>       at 
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>       at 
> org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
>       at 
> org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
>       at 
> org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
>       at 
> org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:81)
>       at 
> org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
>       at 
> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
>       at 
> org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl.setWidget(UIElementImpl.java:261)
>       at 
> org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.unbindWidget(SWTPartRenderer.java:150)
>       at 
> org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.disposeWidget(SWTPartRenderer.java:173)
>       at 
> org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.disposeWidget(ContributedPartRenderer.java:266)
>       at 
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeRemoveGui(PartRenderingEngine.java:933)
>       at 
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$3(PartRenderingEngine.java:862)
>       at 
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$8.run(PartRenderingEngine.java:857)
>       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>       at 
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.removeGui(PartRenderingEngine.java:841)
>       at 
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.handleEvent(PartRenderingEngine.java:160)
>       at 
> org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
>       at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
>       at 
> org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
>       at org.eclipse.swt.widgets.Display.syncExec(Display.java:4732)
>       at 
> org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:218)
>       at 
> org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
>       at 
> org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
>       at 
> org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
>       at 
> org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
>       at 
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
>       at 
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
>       at 
> org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
>       at 
> org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
>       at 
> org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
>       at 
> org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:81)
>       at 
> org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
>       at 
> org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
>       at 
> org.eclipse.e4.ui.model.application.ui.impl.UIElementImpl.setToBeRendered(UIElementImpl.java:303)
>       at 
> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.hidePart(PartServiceImpl.java:1281)
>       at 
> org.eclipse.e4.ui.internal.workbench.PartServiceImpl.hidePart(PartServiceImpl.java:1215)
>       at 
> org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.closePart(StackRenderer.java:1218)
>       at 
> org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.access$3(StackRenderer.java:1200)
>       at 
> org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer$12.close(StackRenderer.java:1092)
>       at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1874)
>       at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:288)
>       at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>       at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4199)
>       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1467)
>       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490)
>       at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1475)
>       at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
>       at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4042)
>       at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3669)
>       at 
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
>       at 
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>       at 
> org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
>       at 
> org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
>       at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
>       at 
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>       at 
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
>       at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
>       at 
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
>       at 
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>       at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
>       at 
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
>       at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
>       at 
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
>       at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
>       at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> 
> 
> On Thu, Apr 30, 2015 at 11:37 AM, David Avendasora <webobje...@avendasora.com 
> <mailto:webobje...@avendasora.com>> wrote:
> The commit that fixed the bug had the following code:
> 
> if (sashWeights[1] / (float)sashWeights[0] < 0.15) {
>       sashWeights[0] = 85;
>       sashWeights[1] = 15;
> }
> 
> So it appears that there are multiple sash weights for the HTMLWodTab and 
> they are percentages and the sum of the two panes should add up to 100.
> 
> I don’t know if that info helps  at all… There might be another preference 
> that is involved in the process, but I’m not sure what to tell you to search 
> for. I’ll look at mine and let you know what I find.
> 
> Dave
> 
> 
> 
> 
> 
>> On Apr 30, 2015, at 10:56 AM, Gavin Eadie <ga...@umich.edu 
>> <mailto:ga...@umich.edu>> wrote:
>> 
>> .. sadly, this is only a brief respite.  This file 
>> (org.objectstyle.wolips.wodclipse.core.prefs) is recreated, with the same 
>> contents, and has to be deleted each time before I launch Eclipse.  I can 
>> live with this if my case is worth exploring for the true cause, or I can 
>> start over with a new workspace.  If Dave/Hugi want to work with me on this, 
>> we can go off-list for that, else I'll start afresh.
>> 
>> cat org.objectstyle.wolips.wodclipse.core.prefs
>> eclipse.preferences.version=1
>> org.objectstyle.wolips.componenteditor.sashWeights=1000
>> 
>> On Wed, Apr 29, 2015 at 7:34 PM, Gavin Eadie <ga...@umich.edu 
>> <mailto:ga...@umich.edu>> wrote:
>> 
>> On Wed, Apr 29, 2015 at 7:20 PM, Hugi Thordarson <h...@karlmenn.is 
>> <mailto:h...@karlmenn.is>> wrote:
>> .metadata/.plugins/org.eclipse.core.runtime/.settings/
>> 
>> deleting this file fixed the problem .. many thanks.
>> 
>> The file contained the following:
>> 
>> gavin$ cat org.objectstyle.wolips.wodclipse.core.prefs
>> eclipse.preferences.version=1
>> org.objectstyle.wolips.componenteditor.sashWeights=1000
>> 
>> 
>> 
> 
> 
> —————————————————————————————
> WebObjects - so easy that even Dave Avendasora can do it!™
> —————————————————————————————
> David Avendasora
> Senior Software Abuser
> Nekesto, Inc.
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com
> 
> This email sent to sam...@samkar.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to