errorlog
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
errorlog [2013/10/01 09:14] – [Android] skipidar | errorlog [2020/12/27 20:35] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Seen Errors and solutions ====== | ||
+ | |||
+ | ===== Maven, Eclipse, RCP, Tycho Project ===== | ||
+ | The error occurs in maven config files named " | ||
+ | |||
+ | ===Error: Plugin execution not covered by lifecycle configuration=== | ||
+ | < | ||
+ | Plugin execution not covered by lifecycle configuration: | ||
+ | </ | ||
+ | **Solution: | ||
+ | - Inside of the pom.xml click on the red Error message. \\ Select discover new m2e Connectors \\ {{http:// | ||
+ | - Install all connectors \\ {{http:// | ||
+ | |||
+ | |||
+ | ===Error: ClassNotFoundException: | ||
+ | < | ||
+ | java.lang.ClassNotFoundException: | ||
+ | at java.net.URLClassLoader$1.run(URLClassLoader.java: | ||
+ | at java.net.URLClassLoader$1.run(URLClassLoader.java: | ||
+ | at java.security.AccessController.doPrivileged(Native Method) | ||
+ | at java.net.URLClassLoader.findClass(URLClassLoader.java: | ||
+ | at java.lang.ClassLoader.loadClass(ClassLoader.java: | ||
+ | at java.lang.ClassLoader.loadClass(ClassLoader.java: | ||
+ | at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: | ||
+ | at org.eclipse.equinox.launcher.Main.basicRun(Main.java: | ||
+ | at org.eclipse.equinox.launcher.Main.run(Main.java: | ||
+ | at org.eclipse.equinox.launcher.Main.main(Main.java: | ||
+ | </ | ||
+ | |||
+ | **Solution: | ||
+ | - Edit the "Run Configuration > Plugins Tab" to either " | ||
+ | - OR push "Run Configuration > Plugins Tab" the "Add Required Plugins" | ||
+ | |||
+ | - Additionally you should activate in "Run Configuration > Plugins Tab" the " | ||
+ | |||
+ | |||
+ | ===Error: cannot be resolved to a type=== | ||
+ | Eclipse doesn' | ||
+ | < | ||
+ | cannot be resolved to a type | ||
+ | cannot be resolved to a type | ||
+ | cannot be resolved to a type | ||
+ | cannot be resolved to a type | ||
+ | cannot be resolved to a type | ||
+ | </ | ||
+ | |||
+ | {{http:// | ||
+ | |||
+ | **Solution: | ||
+ | The libraries from the Target Platform are redirected to the new Plugin by Extensions org.eclipse.core.runtime and org.eclipse.ui | ||
+ | - go to the plugin.xml > Dependencies-Tab and add the **org.eclipse.core.runtime** Extension | ||
+ | - go to the plugin.xml > Dependencies-Tab and add the **org.eclipse.ui** Extension | ||
+ | {{http:// | ||
+ | |||
+ | |||
+ | ===Error: Eclipse can not resolve Classes from depending Eclipse RCP Plugin-Projects=== | ||
+ | Eclipse can not resolve Classes from depending Eclipse RCP Plugin-Projects | ||
+ | < | ||
+ | cannot be resolved to a type | ||
+ | cannot be resolved to a type | ||
+ | cannot be resolved to a type | ||
+ | cannot be resolved to a type | ||
+ | cannot be resolved to a type | ||
+ | </ | ||
+ | |||
+ | **Solution: | ||
+ | - go to Project Properties of Project, where the dependencies can not be resolved | ||
+ | - add the Project with dependencies to "Java Build Path" > Projects-Tab | ||
+ | |||
+ | |||
+ | {{png?400}} | ||
+ | |||
+ | |||
+ | ===Error: Maven' | ||
+ | Maven' | ||
+ | This happens because it handles the ico path, as if it would start with **${project.build.directory}/ | ||
+ | < | ||
+ | Error - 7 icon(s) not replaced in... | ||
+ | </ | ||
+ | **Solution: | ||
+ | - change your path to be relative to the **${project.build.directory}/ | ||
+ | - don't forget to start the path with a slash | ||
+ | |||
+ | |||
+ | ===Error: Eclipse can't find a suitable constructor, | ||
+ | Eclipse can't find a suitable constructor, | ||
+ | < | ||
+ | org.eclipse.e4.core.di.InjectionException: | ||
+ | at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java: | ||
+ | at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java: | ||
+ | at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java: | ||
+ | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java: | ||
+ | at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java: | ||
+ | at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java: | ||
+ | at org.eclipse.swt.widgets.Display.syncExec(Display.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java: | ||
+ | at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java: | ||
+ | at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java: | ||
+ | at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java: | ||
+ | at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java: | ||
+ | at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java: | ||
+ | at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java: | ||
+ | at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java: | ||
+ | at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java: | ||
+ | at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java: | ||
+ | at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java: | ||
+ | at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java: | ||
+ | at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java: | ||
+ | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java: | ||
+ | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java: | ||
+ | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveRenderer.processContents(PerspectiveRenderer.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java: | ||
+ | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.showTab(PerspectiveStackRenderer.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer$1.handleEvent(LazyStackRenderer.java: | ||
+ | at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java: | ||
+ | at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java: | ||
+ | at org.eclipse.swt.widgets.Display.syncExec(Display.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java: | ||
+ | at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java: | ||
+ | at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java: | ||
+ | at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java: | ||
+ | at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java: | ||
+ | at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java: | ||
+ | at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java: | ||
+ | at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java: | ||
+ | at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java: | ||
+ | at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java: | ||
+ | at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java: | ||
+ | at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java: | ||
+ | at org.eclipse.e4.ui.model.application.ui.advanced.impl.PerspectiveStackImpl.setSelectedElement(PerspectiveStackImpl.java: | ||
+ | at org.eclipse.e4.ui.model.application.ui.advanced.impl.PerspectiveStackImpl.setSelectedElement(PerspectiveStackImpl.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.PerspectiveStackRenderer.postProcess(PerspectiveStackRenderer.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java: | ||
+ | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.SWTPartRenderer.processContents(SWTPartRenderer.java: | ||
+ | at org.eclipse.e4.ui.workbench.renderers.swt.WBWRenderer.processContents(WBWRenderer.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$2(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$7.run(PartRenderingEngine.java: | ||
+ | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java: | ||
+ | at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java: | ||
+ | at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java: | ||
+ | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java: | ||
+ | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java: | ||
+ | at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: | ||
+ | at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: | ||
+ | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | ||
+ | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: | ||
+ | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: | ||
+ | at java.lang.reflect.Method.invoke(Method.java: | ||
+ | at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: | ||
+ | at org.eclipse.equinox.launcher.Main.basicRun(Main.java: | ||
+ | at org.eclipse.equinox.launcher.Main.run(Main.java: | ||
+ | at org.eclipse.equinox.launcher.Main.main(Main.java: | ||
+ | </ | ||
+ | |||
+ | |||
+ | **Solution: | ||
+ | Create a constructor with an //@Inject// annotaion. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===Error: No application id has been found=== | ||
+ | < | ||
+ | !ENTRY org.eclipse.osgi 4 0 2012-10-15 12: | ||
+ | !MESSAGE Application error | ||
+ | !STACK 1 | ||
+ | java.lang.RuntimeException: | ||
+ | at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java: | ||
+ | at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java: | ||
+ | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java: | ||
+ | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java: | ||
+ | at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: | ||
+ | at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: | ||
+ | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | ||
+ | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: | ||
+ | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: | ||
+ | at java.lang.reflect.Method.invoke(Method.java: | ||
+ | at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: | ||
+ | at org.eclipse.equinox.launcher.Main.basicRun(Main.java: | ||
+ | at org.eclipse.equinox.launcher.Main.run(Main.java: | ||
+ | at org.eclipse.equinox.launcher.Main.main(Main.java: | ||
+ | An error has occurred. See the log file | ||
+ | </ | ||
+ | |||
+ | **Solution: | ||
+ | - the wrong Application is selected in the product definition, it should be " | ||
+ | - there are dependencies missing. Launch the applictation with a custom launch configuration, | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===Error: Maven m2e and Eclipse Workspace are out of sync=== | ||
+ | < | ||
+ | Maven m2e and Eclipse Workspace are out of sync. | ||
+ | There are "out of sync" icons near the Bunlde names in Dependencies Tab. | ||
+ | </ | ||
+ | |||
+ | **Solution: | ||
+ | 1. turn off auto build (sometimes need to turn off auto refresh as well) | ||
+ | 2. clean all (NOTE: need to opt out "start rebuild automatically" | ||
+ | 3. mvn clean install (sometimes it works out without this step) | ||
+ | 4. refresh Maven projects (only if step #3 was done) | ||
+ | 5. exit eclipse | ||
+ | 6. start eclipse | ||
+ | 7. refresh all projects | ||
+ | 8. turn on auto build | ||
+ | |||
+ | as described here: https:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===Error: The Eclipse executable launcher was unable to locate its companion shared library=== | ||
+ | < | ||
+ | The Eclipse executable launcher was unable to locate its companion shared library. | ||
+ | </ | ||
+ | |||
+ | **Reason:** | ||
+ | This occures, because Eclipse' | ||
+ | |||
+ | **Solution: | ||
+ | 1. It may occur, because the path to the lib is too long: copy the exported project to some other place | ||
+ | 2. It may occur, becuase you do not have the rights to use eclipse_xxxx.dll - adopt the rights. | ||
+ | |||
+ | |||
+ | |||
+ | ===Error: package in Eclipse is not accessable.=== | ||
+ | < | ||
+ | package in Eclipse is not accessable. | ||
+ | </ | ||
+ | |||
+ | |||
+ | **Solution: | ||
+ | Try adding accessable Rules to the .classpath file. | ||
+ | < | ||
+ | <?xml version=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ===Error: Abhangigkeiten=== | ||
+ | < | ||
+ | Abhangigkeiten, | ||
+ | - zu den Common Bibliotheken | ||
+ | - zur LAUFZEIT | ||
+ | - beim Starten aus Eclipse | ||
+ | werde nicht aufgelost! | ||
+ | </ | ||
+ | |||
+ | |||
+ | **Solution: | ||
+ | Mit Maven, alle bibliotheken beginnend mit root bauen. | ||
+ | Eventuell die Serverbibliotheken deployen. | ||
+ | |||
+ | |||
+ | |||
+ | ===Error: | ||
+ | POM says: **Missing artifact com.sun: | ||
+ | |||
+ | |||
+ | **Solution: | ||
+ | Add the following dependency: | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | === Error: konnte kein Exemplar der Klasse=== | ||
+ | Beim Starten des Client: | ||
+ | < | ||
+ | org.eclipse.core.runtime.CoreException: | ||
+ | at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java: | ||
+ | at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java: | ||
+ | at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java: | ||
+ | at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java: | ||
+ | at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java: | ||
+ | at de.ivu.fare.rcp.lifecycle.ModuleProviderExtPointLifeCycleHandler.createSubmoduleData(ModuleProviderExtPointLifeCycleHandler.java: | ||
+ | at de.ivu.fare.rcp.lifecycle.ModuleProviderExtPointLifeCycleHandler.createSubmodule(ModuleProviderExtPointLifeCycleHandler.java: | ||
+ | at de.ivu.fare.rcp.lifecycle.ModuleProviderExtPointLifeCycleHandler.evaluateConfigurationElement(ModuleProviderExtPointLifeCycleHandler.java: | ||
+ | at de.ivu.fare.rcp.lifecycle.AbstractExtPointLifeCycleHandler.registerExtPoints(AbstractExtPointLifeCycleHandler.java: | ||
+ | at de.ivu.fare.rcp.lifecycle.AbstractExtPointLifeCycleHandler.processAdditions(AbstractExtPointLifeCycleHandler.java: | ||
+ | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | ||
+ | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: | ||
+ | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: | ||
+ | at java.lang.reflect.Method.invoke(Method.java: | ||
+ | at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java: | ||
+ | at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java: | ||
+ | at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java: | ||
+ | at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java: | ||
+ | at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java: | ||
+ | at de.ivu.fare.rcp.lifecycle.LifeCycle.invokeExtPointLifecycleHandler(LifeCycle.java: | ||
+ | at de.ivu.fare.rcp.lifecycle.LifeCycle.invokeExtensionPointHandlers(LifeCycle.java: | ||
+ | at de.ivu.fare.rcp.lifecycle.LifeCycle.processAdditions(LifeCycle.java: | ||
+ | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | ||
+ | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: | ||
+ | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: | ||
+ | at java.lang.reflect.Method.invoke(Method.java: | ||
+ | at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java: | ||
+ | at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java: | ||
+ | at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java: | ||
+ | at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java: | ||
+ | at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java: | ||
+ | at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java: | ||
+ | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java: | ||
+ | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java: | ||
+ | at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: | ||
+ | at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: | ||
+ | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | ||
+ | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: | ||
+ | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: | ||
+ | at java.lang.reflect.Method.invoke(Method.java: | ||
+ | at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: | ||
+ | at org.eclipse.equinox.launcher.Main.basicRun(Main.java: | ||
+ | at org.eclipse.equinox.launcher.Main.run(Main.java: | ||
+ | at org.eclipse.equinox.launcher.Main.main(Main.java: | ||
+ | Caused by: java.lang.NoClassDefFoundError: | ||
+ | at de.ivu.fare.rcp.account.seller.LimitTableStructureServices.< | ||
+ | at de.ivu.fare.rcp.account.seller.LimitAccountSellersAddon.< | ||
+ | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | ||
+ | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: | ||
+ | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java: | ||
+ | at java.lang.reflect.Constructor.newInstance(Constructor.java: | ||
+ | at java.lang.Class.newInstance0(Class.java: | ||
+ | at java.lang.Class.newInstance(Class.java: | ||
+ | at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java: | ||
+ | ... 43 more | ||
+ | Caused by: java.lang.ClassNotFoundException: | ||
+ | at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java: | ||
+ | at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java: | ||
+ | at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java: | ||
+ | at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java: | ||
+ | at java.lang.ClassLoader.loadClass(ClassLoader.java: | ||
+ | ... 52 more | ||
+ | </ | ||
+ | |||
+ | **Solution: | ||
+ | Der Fehler ist auf einen inkonsistenten Zutand im .metadata Verzeichniss des Eclipse Workspace zurüczufhren. Nach dem neueinrichten des Workspace ist der Fehler verschwunden. | ||
+ | |||
+ | |||
+ | |||
+ | === Error An error occurred while collecting items to be installed=== | ||
+ | When using target platform: | ||
+ | < | ||
+ | Problems occurred getting the plug-ins in this container | ||
+ | An error occurred while collecting items to be installed | ||
+ | session context was: | ||
+ | Artifact org.eclipse.update.feature, | ||
+ | An error occurred while collecting items to be installed | ||
+ | session context was: | ||
+ | Artifact org.eclipse.update.feature, | ||
+ | An error occurred while collecting items to be installed | ||
+ | session context was: | ||
+ | Artifact org.eclipse.update.feature, | ||
+ | An error occurred while collecting items to be installed | ||
+ | session context was: | ||
+ | Artifact org.eclipse.update.feature, | ||
+ | An error occurred while collecting items to be installed | ||
+ | session context was: | ||
+ | Artifact org.eclipse.update.feature, | ||
+ | </ | ||
+ | |||
+ | **Solution: | ||
+ | A defect Eclipse IDE was the reason. (One of the plugins?) | ||
+ | Downloading a new one was the solution. | ||
+ | |||
+ | |||
+ | ===Error: The project cannot be built until its prerequirenments X is build=== | ||
+ | < | ||
+ | The project cannot be built until its prerequirenments X is build. Cleaning and building all projects is recommended | ||
+ | </ | ||
+ | |||
+ | This happens, regulary. | ||
+ | Probably because of circular dependencies. | ||
+ | |||
+ | **Solution: | ||
+ | - Close all subprojects, | ||
+ | - Rebuild the All (open) projects. Update maven dependencies. | ||
+ | - Then open the projects one by one | ||
+ | |||
+ | ===== Android | ||
+ | |||
+ | ===Error: Class ref in pre-verified class resolved to unexpected implementation=== | ||
+ | When implementing Android JUnit Tests. \\ | ||
+ | Occurs, when the test-Project references the testED-Project as a jar. | ||
+ | < | ||
+ | java.lang.IllegalAccessError: | ||
+ | </ | ||
+ | |||
+ | |||
+ | **Solution: | ||
+ | |||
+ | Do not import the testED-Project as JAR into the test-Project. | ||
+ | Instead: | ||
+ | - Mark the testED-Project as a library. | ||
+ | - Add it in // | ||
+ | |||
+ | **Test Project** | ||
+ | {{http:// | ||
+ | |||
+ | **TestED Project** | ||
+ | {{http:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===Error: HttpHostConnectException: | ||
+ | When trying to send Http Requests in Android. \\ | ||
+ | An Exception occurs: **HttpHostConnectException: | ||
+ | |||
+ | **Solution: | ||
+ | The Activity has no rights for the internet connection. | ||
+ | Add to Manifest.MF | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===Error: same classes are imported via multiple entry points=== | ||
+ | When importing dependencies via lib projects or via Maven tycho. | ||
+ | Can not start the app on device, because the same classes are imported via multiple entry points. (in app and lib apk are the same libs) | ||
+ | |||
+ | < | ||
+ | Unable to execute dex: Multiple dex files define .... | ||
+ | </ | ||
+ | |||
+ | **Solution: | ||
+ | Do not use libs for dependencies and do not import dependencies via the **libs** folder. | ||
+ | |||
+ | |||
+ | |||
+ | ===Error: User Operation is waiting for “Building Workspace=== | ||
+ | When launching many plugin projects in Eclipse IDE, and Maven (mainly M2Eclipse plugin). \\ | ||
+ | Sometimes Eclipse freezes, with a message "User Operation is waiting for “Building Workspace”" | ||
+ | |||
+ | {{http:// | ||
+ | |||
+ | **Solution: | ||
+ | This may happen, because there are circular dependencies in open projects. | ||
+ | Close as many projects as possible, and relaunch your main project. | ||
+ | Then reopen your plugin projects one by one. | ||
+ | |||
+ | |||
+ | |||
+ | ===== Docker ===== | ||
+ | |||
+ | ===Error: Failed to open/create the internal network=== | ||
+ | |||
+ | **Problem**: | ||
+ | < | ||
+ | (default) Creating VirtualBox VM... | ||
+ | (default) Creating SSH key... | ||
+ | (default) Starting the VM... | ||
+ | (default) Check network to re-create if needed... | ||
+ | Error creating machine: Error in driver during machine creation: Unable to start the VM: D: | ||
+ | age.exe startvm default --type headless failed: | ||
+ | VBoxManage.exe: | ||
+ | | ||
+ | VBoxManage.exe: | ||
+ | VBoxManage.exe: | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | **Solution**: | ||
+ | modify the " | ||
+ | http:// | ||