Message in wrong feed is not removable

Help
2012-06-19
2012-08-29
  • Till Kolditz

    Till Kolditz - 2012-06-19

    Hi,

    the index somehow became corrupted and now there is one article misplaced,
    shown in a wrong feed, which is marked unread and when clicking on it, the
    error below occurs. Even more curiously, when only this single message is left
    unread in this feed, in the feeds overview view the feed is marked having 2
    unread articles.

    !ENTRY org.eclipse.jface 4 2 2012-06-19 12:38:02.871
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
    !STACK 0
    org.eclipse.core.runtime.AssertionFailedException: null argument:fId
        at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:86)
        at org.rssowl.core.internal.persist.AbstractEntity.getIdAsPrimitive(AbstractEntity.java:84)
        at org.rssowl.core.internal.persist.News.toReference(News.java:1309)
        at org.rssowl.core.util.CoreUtils.toStateMap(CoreUtils.java:1126)
        at org.rssowl.ui.internal.undo.NewsStateOperation.<init>(NewsStateOperation.java:73)
        at org.rssowl.ui.internal.editors.feed.NewsTableControl$17.run(NewsTableControl.java:1110)
        at org.rssowl.ui.internal.editors.feed.NewsTableControl.setNewsState(NewsTableControl.java:1120)
        at org.rssowl.ui.internal.editors.feed.NewsTableControl.onSelectionChanged(NewsTableControl.java:721)
        at org.rssowl.ui.internal.editors.feed.NewsTableControl.access$14(NewsTableControl.java:678)
        at org.rssowl.ui.internal.editors.feed.NewsTableControl$6.selectionChanged(NewsTableControl.java:603)
        at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:880)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
        at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
        at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2062)
        at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1138)
        at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1168)
        at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:227)
        at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:221)
        at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:388)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.rssowl.ui.internal.Application.start(Application.java:119)
        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(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        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)
    
    !ENTRY org.rssowl.ui 4 2 2012-06-19 12:38:02.933
    !MESSAGE Problems occurred when invoking code from plug-in: "org.rssowl.ui".
    !STACK 0
    java.lang.NumberFormatException: For input string: "null"
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Long.parseLong(Unknown Source)
        at java.lang.Long.valueOf(Unknown Source)
        at org.rssowl.ui.internal.ApplicationServer.processDisplayOperation(ApplicationServer.java:640)
        at org.rssowl.ui.internal.ApplicationServer.access$2(ApplicationServer.java:545)
        at org.rssowl.ui.internal.ApplicationServer$2.run(ApplicationServer.java:483)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.rssowl.ui.internal.ApplicationServer.safeProcess(ApplicationServer.java:507)
        at org.rssowl.ui.internal.ApplicationServer.access$1(ApplicationServer.java:474)
        at org.rssowl.ui.internal.ApplicationServer$1.run(ApplicationServer.java:439)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    

    Additionally, when trying to delete the message, the following error occurs,
    which will not let me delete it.

    !ENTRY org.eclipse.ui 4 0 2012-06-19 12:43:35.034
    !MESSAGE null argument:fId
    !STACK 0
    org.eclipse.core.runtime.AssertionFailedException: null argument:fId
        at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:86)
        at org.rssowl.core.internal.persist.AbstractEntity.getIdAsPrimitive(AbstractEntity.java:84)
        at org.rssowl.core.internal.persist.News.toReference(News.java:1309)
        at org.rssowl.core.util.CoreUtils.toStateMap(CoreUtils.java:1126)
        at org.rssowl.ui.internal.undo.NewsStateOperation.<init>(NewsStateOperation.java:73)
        at org.rssowl.ui.internal.actions.DeleteTypesAction$3.run(DeleteTypesAction.java:285)
        at org.rssowl.ui.internal.actions.DeleteTypesAction.internalRun(DeleteTypesAction.java:299)
        at org.rssowl.ui.internal.actions.DeleteTypesAction.access$0(DeleteTypesAction.java:245)
        at org.rssowl.ui.internal.actions.DeleteTypesAction$2.run(DeleteTypesAction.java:129)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.rssowl.ui.internal.actions.DeleteTypesAction.run(DeleteTypesAction.java:127)
        at org.rssowl.ui.internal.editors.feed.FeedView$17.run(FeedView.java:860)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetAction.java:230)
        at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
        at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
        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:472)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
        at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:882)
        at org.eclipse.ui.internal.keys.OutOfOrderListener.handleEvent(OutOfOrderListener.java:76)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
        at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1653)
        at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4122)
        at org.eclipse.swt.widgets.Tree.WM_KEYDOWN(Tree.java:5914)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:3818)
        at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5782)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2371)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.rssowl.ui.internal.Application.start(Application.java:119)
        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(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        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)
    

    When clicking on "Mark all read" also raises

    AssertionFailedException: null argument:fId
    

    Is there some way to fix the index or export the feeds including all labeled
    articles?

    Thanks in advance.

     
  • genodeftest

    genodeftest - 2012-06-19

    You should back up all data of RSSOwl and try restoring the database from an
    older state (from RSSOwl's automatically generated backups), see http://www.r
    ssowl.org/help#item_runcleanup

     
  • genodeftest

    genodeftest - 2012-06-19

    btw: yes, you can reindex the database, see that link too.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks