ClassCastException: java.util.Collections$SingletonSet cannot be cast to java.util.List

Bug #869371 reported by Vincent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Plugin for Eclipse
Fix Released
Medium
Piotr Piastucki

Bug Description

After I refreshed an Ant file in a project that doesn't use Bazaar I got the following exception:
java.lang.ClassCastException: java.util.Collections$SingletonSet cannot be cast to java.util.List
        at org.vcs.bazaar.eclipse.ui.team.RefreshExecutionListener.preExecute(RefreshExecutionListener.java:50)
        at org.eclipse.core.commands.Command.firePreExecute(Command.java:664)
        at org.eclipse.core.commands.Command.executeWithChecks(Command.java:454)
        at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
        at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1467)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1175)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1212)
        at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:706)
        at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2837)
        at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:703)
        at org.eclipse.swt.widgets.Shell.gtk_key_press_event(Shell.java:1130)
        at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1570)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:4594)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4191)
        at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
        at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:7603)
        at org.eclipse.swt.widgets.Display.eventProc(Display.java:1185)
        at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
        at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1860)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3110)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)

Revision history for this message
xaav (xaav) wrote :

Thank you for reporting this bug; we hope to fix it as soon as possible.

Changed in bzr-eclipse:
status: New → Triaged
Changed in bzr-eclipse:
importance: Undecided → Medium
assignee: nobody → Piotr Piastucki (piastucki)
milestone: none → 1.2
status: Triaged → In Progress
Changed in bzr-eclipse:
status: In Progress → Fix Committed
Revision history for this message
Alexander Taler (alex-idereal) wrote :

Verified, the fix is there in latest trunk version.

Changed in bzr-eclipse:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.