brunano21 / workspacemechanic

Automatically exported from code.google.com/p/workspacemechanic
0 stars 0 forks source link

Cannot block URL tasks #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
URL tasks contain : which is the path separator on linux. Solution is to use 
the same gson data model used for task sources.

!ENTRY org.eclipse.ui 4 0 2011-03-12 10:39:37.404
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.IllegalStateException: ids cannot contain ':'
    at com.google.eclipse.mechanic.plugin.core.MechanicPreferences.setBlockedTaskIds(MechanicPreferences.java:204)
    at com.google.eclipse.mechanic.plugin.core.MechanicPreferences.blockItem(MechanicPreferences.java:221)
    at com.google.eclipse.mechanic.RepairManager.run(RepairManager.java:74)
    at com.google.eclipse.mechanic.plugin.ui.MechanicStatusControlContribution$InvokeRepairManagerAction.invokeRepairManager(MechanicStatusControlContribution.java:356)
    at com.google.eclipse.mechanic.plugin.ui.MechanicStatusControlContribution$InvokeRepairManagerAction.run(MechanicStatusControlContribution.java:345)
    at com.google.eclipse.mechanic.plugin.ui.MechanicStatusControlContribution$2.mouseUp(MechanicStatusControlContribution.java:186)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:213)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1195)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3629)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    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:369)
    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:620)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

Original issue reported on code.google.com by konigsb...@gmail.com on 12 Mar 2011 at 3:41

GoogleCodeExporter commented 9 years ago
Fixed in 0.0.8

Original comment by konigsb...@gmail.com on 19 Mar 2011 at 4:03