Uploaded image for project: 'Medici'
  1. Medici
  2. MMDB-977

Annotation view throws null pointer for FooBar collection

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1
    • 1.1
    • Desktop client
    • None
    • Green

      It seems like the desktop client is not retrieving the icon/preview for the Symphonies image in the collection FOOBAR. When I click on the broken icon, I get a null pointer exception from AnnotationView, stacktrace below and screenshot attached.

      org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
      at org.eclipse.swt.SWT.error(SWT.java:4083)
      at org.eclipse.swt.SWT.error(SWT.java:3998)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
      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 edu.illinois.ncsa.mmdb.desktop.rcp.Application.start(Application.java:53)
      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:619)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
      Caused by: java.lang.NullPointerException
      at edu.illinois.ncsa.mmdb.desktop.ui.views.AnnotationView.retrieveImage(AnnotationView.java:196)
      at edu.illinois.ncsa.mmdb.desktop.ui.views.AnnotationView.createSection(AnnotationView.java:167)
      at edu.illinois.ncsa.mmdb.desktop.ui.views.AnnotationView.access$3(AnnotationView.java:108)
      at edu.illinois.ncsa.mmdb.desktop.ui.views.AnnotationView$MyAnnotationCallback.success(AnnotationView.java:302)
      at edu.illinois.ncsa.bard.ui.dispatcher.BardOperation$3.run(BardOperation.java:115)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
      ... 23 more

              plutchak Joel Plutchak (Inactive)
              cnavarro Christopher Navarro
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: