Re: Exception opening rule editor?

From: Mike Schrag (mschra..dimension.com)
Date: Wed May 30 2007 - 11:37:13 EDT

  • Next message: Chuck Hill: "Re: Soft wrapping"

    Consider the WOLips rule editor to not exist. It was the beginnings
    of something that nobody ever put any work into. You really want to
    use RuleModeler from Project Wonder (assuming you are on OS X).

    ms

    On May 30, 2007, at 11:28 AM, Stephen Edwards wrote:

    > While trying to open an older d2w.d2wmodel file inside Eclipse
    > using the
    > WOLips rule editor, I received the following exception. Any ideas? I
    > don't know if this is a bug, or just a poorly constructed d2w.d2wmodel
    > file issue.
    >
    > java.lang.ClassCastException: java.util.HashMap cannot be cast to
    > java.lang.String
    > at org.objectstyle.wolips.ruleeditor.model.Qualifier.getValue
    > (Unknown Source)
    > at
    > org.objectstyle.wolips.ruleeditor.model.Qualifier.appendToDisplayStrin
    > gBuffer(Unknown Source)
    > at
    > org.objectstyle.wolips.ruleeditor.model.AbstractQualifierElement.appen
    > dToDisplayStringBuffer(Unknown Source)
    > at
    > org.objectstyle.wolips.ruleeditor.model.LeftHandSide.getDisplayString(
    > Unknown Source)
    > at org.objectstyle.wolips.ruleeditor.editor.RuleEditor.updateRules
    > (Unknown Source)
    > at
    > org.objectstyle.wolips.ruleeditor.editor.RuleEditor.createContents
    > (Unknown Source)
    > at
    > org.objectstyle.wolips.ruleeditor.editor.RuleEditorPart.createPartCont
    > rol(Unknown Source)
    > at org.eclipse.ui.internal.EditorReference.createPartHelper
    > (EditorReference.java:596)
    > at org.eclipse.ui.internal.EditorReference.createPart
    > (EditorReference.java:372)
    > at org.eclipse.ui.internal.WorkbenchPartReference.getPart
    > (WorkbenchPartReference.java:566)
    > at org.eclipse.ui.internal.EditorReference.getEditor
    > (EditorReference.java:214)
    > at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched
    > (WorkbenchPage.java:2595)
    > at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor
    > (WorkbenchPage.java:2528)
    > at org.eclipse.ui.internal.WorkbenchPage.access$10
    > (WorkbenchPage.java:2520)
    > at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:
    > 2505)
    > at org.eclipse.swt.custom.BusyIndicator.showWhile
    > (BusyIndicator.java:67)
    > at org.eclipse.ui.internal.WorkbenchPage.openEditor
    > (WorkbenchPage.java:2500)
    > at org.eclipse.ui.actions.OpenWithMenu.openEditor
    > (OpenWithMenu.java:288)
    > at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:
    > 280)
    > at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent
    > (OpenWithMenu.java:184)
    > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
    > 3348)
    > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
    > 1930)
    > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
    > at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
    > (Workbench.java:422)
    > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
    > 149)
    > at org.eclipse.ui.internal.ide.IDEApplication.run
    > (IDEApplication.java:95)
    > at org.eclipse.core.internal.runtime.PlatformActivator$1.run
    > (PlatformActivator.java:78)
    > at
    > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplic
    > ation(EclipseAppLauncher.java:92)
    > at
    > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
    > (EclipseAppLauncher.java:68)
    > at org.eclipse.core.runtime.adaptor.EclipseStarter.run
    > (EclipseStarter.java:400)
    > at org.eclipse.core.runtime.adaptor.EclipseStarter.run
    > (EclipseStarter.java:177)
    > 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:336)
    > at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    > at org.eclipse.core.launcher.Main.run(Main.java:977)
    > at org.eclipse.core.launcher.Main.main(Main.java:952)
    >
    > -- Steve
    >
    > ----------------------------------------------------------------------
    > -----
    > Virginia Tech, CS Dept. Web-CAT: Web-based Center for Software
    > Testing
    > 660 McBryde Hall (0106) Automatic grading using student-written
    > tests
    > Blacksburg, VA 24061 USA http://web-cat.sourceforge.net/
    > (540)-231-5723 http://people.cs.vt.edu/~edwards/



    This archive was generated by hypermail 2.0.0 : Wed May 30 2007 - 11:38:24 EDT