-
Bug
-
Resolution: Fixed
-
Major
-
1.2
-
None
-
Green
The desktop client saves the last selection the user made before the application closes so the next time the user starts the client, if they chose a different context that does not contain the bean, I get the following error (and it gets displayed to the user)
2011-03-25 10:51:39.687 [main] ERROR edu.illinois.ncsa.bard.BardFrame.getBean(BardFrame.java:202) - Failed to find a bean with subject: tag:cet.ncsa.uiuc.edu,2008:/bean/Collection/a105073c-c2a5-46ae-884b-46d2463fc501
java.lang.IllegalArgumentException: Error: no suitable mapping found. Tried with rdf type="null", class name ="null"
at org.tupeloproject.kernel.beans.things.MappingStrategyFactory$NewBeanStrategy.resolve(MappingStrategyFactory.java:252)
at org.tupeloproject.kernel.beans.things.BeanThing.getActiveMapping(BeanThing.java:682)
at org.tupeloproject.kernel.beans.BeanSessionBase.updateRegister(BeanSessionBase.java:1128)
at org.tupeloproject.kernel.beans.BeanSessionBase.fetchBean(BeanSessionBase.java:652)
at edu.illinois.ncsa.bard.BardFrame.getBean(BardFrame.java:198)
at edu.illinois.ncsa.mmdb.desktop.ui.views.CollectionListView.refresh(CollectionListView.java:146)
at edu.illinois.ncsa.mmdb.desktop.ui.views.CollectionListView$CollectionFrameListener$2.run(CollectionListView.java:392)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
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)