|
From: Matthias B. <mat...@gm...> - 2016-04-18 09:04:08
|
Hi Franz, sexy tool this Binary-Search, thx for the link. "Sadly" I didn't had the chance to try it: I pushed a commit in the meantime (on top of the recent master). After this I did a hard reset, made a fetch and try to reproduce this error. But now it's gone -__. Don't know why, I did the same steps before I start to write the patch. As far as I can tell the *SarosViewBrowserVersion* or any dependencies of it, haven't been touched in any recent commit, so I was wondering where does this problem did come from. My Eclipse did load unusually long, maybe this had something to do with the error I got. I guess it was false alarm. Thanks for the quick answer Mattias 2016-04-18 10:07 GMT+02:00 Zieris, Franz <Fra...@fu...>: > Hi Matthias, > > > > Did you already find the commit that introduced this? (E.g. using Git > Bisect, > https://git-scm.com/book/en/v2/Git-Tools-Debugging-with-Git#Binary-Search) > > > > Furthermore, it’s not about missing MainPage dependencies, but the View > itself has unsatisfied dependencies: > > *“SarosViewBrowserVersion has unsatisfied dependency: null among > unsatisfiable dependencies: [class BrowserCreator, class MainPage]”* > > The dependencies are defined here [1]. > > > > Franz > > > > PS: Classic error message by the way “Saros couldn't initzialisieren the > SWT browser” ;) [2]. > > > > [1] > https://github.com/saros-project/saros/blob/master/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/ui/views/SarosViewBrowserVersion.java#L41 > > [2] > https://github.com/saros-project/saros/blob/master/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/ui/views/SarosViewBrowserVersion.java#L63 > > > > > > *From:* Matthias Bohnstedt [mailto:mat...@gm...] > *Sent:* Monday, April 18, 2016 9:54 AM > *To:* dpp...@li... > *Subject:* [DPP-Devel] HTML GUI - Error in current master? (Eclipse) > > > > Hi all, > > > > I just started the HTML GUI with the newest master version:"[HTML][API] > Introduce type-safe browser functions [Commit e22da8a]". While the plugin > starts fine, the SarosViewBrowserVersion shows the following error: > > > > 'Could not create the view: Plug-in "de.fu_berlin.inf.dpp" was unable to > instantiate class "de.fu_berlin.inf.dpp.ui.views.SarosViewBrowserVersion".' > > > > Looking at the Stacktrace, it seems there are some dependencies missing > for the MainPage (full stacktrace at the end of the mail). Is this a > misconfiguration on my end or can someone verify this problem? > > > > Best > > Matthias > > > > > > Full Stacktrace > > org.picocontainer.injectors.AbstractInjector$UnsatisfiableDependenciesException: > de.fu_berlin.inf.dpp.ui.views.SarosViewBrowserVersion has unsatisfied > dependency: null among unsatisfiable dependencies: [class > de.fu_berlin.inf.dpp.ui.ide_embedding.BrowserCreator, class > de.fu_berlin.inf.dpp.ui.pages.MainPage] where > org.picocontainer.DefaultPicoContainer@1848cabd:1<I<org.picocontainer.DefaultPicoContainer@6e07423e:63<(empty) > was the leaf container being asked for dependencies. > > at > org.picocontainer.injectors.IterativeInjector.unsatisfiedDependencies(IterativeInjector.java:136) > > at > org.picocontainer.injectors.IterativeInjector.getMatchingParameterListForSetters(IterativeInjector.java:97) > > at > org.picocontainer.injectors.IterativeInjector.access$000(IterativeInjector.java:33) > > at > org.picocontainer.injectors.IterativeInjector$3.run(IterativeInjector.java:220) > > at > org.picocontainer.injectors.AbstractInjector$ThreadLocalCyclicDependencyGuard.observe(AbstractInjector.java:268) > > at > org.picocontainer.injectors.IterativeInjector.decorateComponentInstance(IterativeInjector.java:226) > > at > org.picocontainer.injectors.CompositeInjector.decorateComponentInstance(CompositeInjector.java:58) > > at > org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:142) > > at > org.picocontainer.injectors.Reinjector.reinject(Reinjector.java:101) > > at > de.fu_berlin.inf.dpp.SarosContext.initComponent(SarosContext.java:268) > > at > de.fu_berlin.inf.dpp.SarosPluginContext.initComponent(SarosPluginContext.java:31) > > at > de.fu_berlin.inf.dpp.ui.views.SarosViewBrowserVersion.<init>(SarosViewBrowserVersion.java:48) > > at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) > > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) > > at java.lang.reflect.Constructor.newInstance(Unknown Source) > > at java.lang.Class.newInstance(Unknown Source) > > at > org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184) > > at > org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) > > at > org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) > > at > org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) > > at > org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:260) > > at > org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:63) > > at > org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:327) > > at > org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229) > > at > org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) > > at > org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:4317) > > at > org.eclipse.ui.internal.WorkbenchPage$18.runWithException(WorkbenchPage.java:3359) > > at > org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) > > at > org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) > > at > org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) > > at > org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140) > > at > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757) > > at > org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803) > > at > org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1600) > > at > org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) > > at > org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) > > at > org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) > > at > org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140) > > at > org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757) > > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2609) > > at > org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) > > at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) > > at > org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) > > at > org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) > > at > org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) > > at > org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) > > 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:344) > > 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:622) > > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) > > at org.eclipse.equinox.launcher.Main.run(Main.java:1410) > > at org.eclipse.equinox.launcher.Main.main(Main.java:1386) > > > |