Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Clean up (defragmentation) crashing

Help
Patrik
2013-03-09
2013-03-18
  • Patrik
    Patrik
    2013-03-09

    Hi,

    defragmentation of my DB thorugh clean up (improve application performance) always crashing with NullPointerException. It seems that it is always on same feed, but I cant determine which. Is it possible to turn on some debugging to log more info?

    Relevant info from log:
    !ENTRY org.rssowl.core 1 0 2013-03-09 13:22:17.898
    !MESSAGE Start: Database Defragmentation

    !ENTRY org.rssowl.ui 4 4 2013-03-09 13:22:19.874
    !MESSAGE
    !STACK 0
    java.lang.NullPointerException
    at org.rssowl.core.internal.persist.Feed.getNewsCount(Feed.java:168)
    at org.rssowl.core.internal.persist.service.DBManager.addNewsCounterItem(DBManager.java:1323)
    at org.rssowl.core.internal.persist.service.DBManager.internalCopyDatabase(DBManager.java:1123)
    at org.rssowl.core.internal.persist.service.DBManager.copyDatabase(DBManager.java:991)
    at org.rssowl.core.internal.persist.service.DBManager.defragment(DBManager.java:922)
    at org.rssowl.core.internal.persist.service.DBManager.defragmentIfNecessary(DBManager.java:875)
    at org.rssowl.core.internal.persist.service.DBManager.createDatabase(DBManager.java:248)
    at org.rssowl.core.internal.persist.service.DBManager.startup(DBManager.java:201)
    at org.rssowl.core.internal.persist.service.PersistenceServiceImpl.startup(PersistenceServiceImpl.java:60)
    at org.rssowl.core.internal.InternalOwl.startup(InternalOwl.java:138)
    at org.rssowl.core.Owl.startup(Owl.java:206)
    at org.rssowl.ui.internal.Activator$5.run(Activator.java:242)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(Unknown Source)
    at org.eclipse.jface.operation.ModalContext.run(Unknown Source)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(Unknown Source)
    at org.rssowl.ui.internal.Activator.startCore(Activator.java:255)
    at org.rssowl.ui.internal.Activator.access$2(Activator.java:184)
    at org.rssowl.ui.internal.Activator$3.run(Activator.java:155)
    at org.eclipse.core.runtime.SafeRunner.run(Unknown Source)
    at org.rssowl.ui.internal.Activator.start(Activator.java:153)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(Unknown Source)
    at org.eclipse.osgi.framework.util.SecureAction.start(Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(Unknown Source)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Unknown Source)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Unknown Source)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(Unknown Source)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(Unknown Source)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(Unknown Source)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(Unknown Source)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(Unknown Source)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
    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(Unknown Source)
    at org.eclipse.equinox.launcher.Main.basicRun(Unknown Source)
    at org.eclipse.equinox.launcher.Main.run(Unknown Source)

    !ENTRY org.rssowl.ui 1 0 2013-03-09 13:22:19.917
    !MESSAGE Opening Fatal Error Wizard (offering restore options)

     
  • Patrik
    Patrik
    2013-03-18

    Well, are you providing some support or not? Because of this bug I am thinking about moving away from RSSOwl, so please look at it. Thanks.

     
  • Alexandre
    Alexandre
    2013-03-18

    Uninstall with some advanced cleaner like revo uninstaller. Install again, and test it.
    If that don't solve the problem, search and determine wich feed is making that trouble.