AnsweredAssumed Answered

All custom widgets are throwing an error after upgrading to 5.18 plugin

Question asked by zagazaryan on Nov 30, 2015
Latest reply on Apr 13, 2016 by erwan
I had several custom widgets which worked fine in 5.15 version. After upgrading to 5.18 all of them are throwing an error when trying to view properties.

"An error has occurred. See error log for more details.
entry"

In the error log I see:

"Problems occurred when invoking code from plug-in: "org.eclipse.ui.views.properties.tabbed".

java.lang.NullPointerException: entry
   at java.util.zip.ZipFile.getInputStream(ZipFile.java:342)
   at java.util.jar.JarFile.getInputStream(JarFile.java:412)
   at org.activiti.designer.util.extension.JarClassLoader.loadClassData(JarClassLoader.java:92)
   at org.activiti.designer.util.extension.JarClassLoader.loadClass(JarClassLoader.java:61)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:274)
   at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)
   at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)
   at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)
   at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:432)
   at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:238)
   at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:117)
   at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:70)
   at java.lang.Class.initAnnotationsIfNecessary(Class.java:3271)
   at java.lang.Class.getAnnotation(Class.java:3219)
   at org.activiti.designer.integration.servicetask.AbstractCustomServiceTask.getRuntimeAnnotation(AbstractCustomServiceTask.java:137)
   at org.activiti.designer.integration.servicetask.AbstractCustomServiceTask.getDelegateType(AbstractCustomServiceTask.java:74)
   at org.activiti.designer.property.PropertyCustomServiceTaskSection.taskNotExpressionImplementationType(PropertyCustomServiceTaskSection.java:359)
   at org.activiti.designer.property.PropertyCustomServiceTaskSection.setInput(PropertyCustomServiceTaskSection.java:142)
   at org.eclipse.ui.views.properties.tabbed.TabContents$5.run(TabContents.java:181)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
   at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
   at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
   at org.eclipse.ui.views.properties.tabbed.TabContents.setInput(TabContents.java:184)
   at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage$SelectionChangedListener.selectionChanged(TabbedPropertySheetPage.java:212)
   at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
   at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
   at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
   at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
   at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2171)
   at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1707)
   at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:388)
   at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.setInput(TabbedPropertySheetPage.java:748)
   at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.selectionChanged(TabbedPropertySheetPage.java:556)
   at org.eclipse.ui.views.properties.PropertySheet.selectionChanged(PropertySheet.java:365)
   at org.eclipse.ui.internal.e4.compatibility.SelectionService.notifyListeners(SelectionService.java:218)
   at org.eclipse.ui.internal.e4.compatibility.SelectionService.handlePostSelectionChanged(SelectionService.java:122)
   at org.eclipse.ui.internal.e4.compatibility.SelectionService.access$1(SelectionService.java:112)
   at org.eclipse.ui.internal.e4.compatibility.SelectionService$3.selectionChanged(SelectionService.java:80)
   at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$4.run(SelectionAggregator.java:166)
   at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
   at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.notifyPostListeners(SelectionAggregator.java:163)
   at org.eclipse.e4.ui.internal.workbench.SelectionAggregator.access$8(SelectionAggregator.java:160)
   at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8$1.run(SelectionAggregator.java:272)
   at org.eclipse.e4.core.contexts.RunAndTrack.runExternalCode(RunAndTrack.java:56)
   at org.eclipse.e4.ui.internal.workbench.SelectionAggregator$8.changed(SelectionAggregator.java:269)
   at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:110)
   at org.eclipse.e4.core.internal.contexts.EclipseContext.processScheduled(EclipseContext.java:338)
   at org.eclipse.e4.core.internal.contexts.EclipseContext.set(EclipseContext.java:352)
   at org.eclipse.e4.ui.internal.workbench.SelectionServiceImpl.setPostSelection(SelectionServiceImpl.java:36)
   at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart$3.selectionChanged(CompatibilityPart.java:127)
   at org.eclipse.gef.ui.parts.AbstractEditPartViewer.fireSelectionChanged(AbstractEditPartViewer.java:247)
   at org.eclipse.gef.ui.parts.AbstractEditPartViewer$1.run(AbstractEditPartViewer.java:131)
   at org.eclipse.gef.SelectionManager.fireSelectionChanged(SelectionManager.java:144)
   at org.eclipse.gef.SelectionManager.appendSelection(SelectionManager.java:83)
   at org.eclipse.gef.ui.parts.AbstractEditPartViewer.appendSelection(AbstractEditPartViewer.java:190)
   at org.eclipse.graphiti.ui.internal.editor.GraphitiScrollingGraphicalViewer.appendSelection(GraphitiScrollingGraphicalViewer.java:146)
   at org.eclipse.gef.ui.parts.AbstractEditPartViewer.select(AbstractEditPartViewer.java:599)
   at org.eclipse.graphiti.ui.internal.editor.GraphitiScrollingGraphicalViewer.select(GraphitiScrollingGraphicalViewer.java:53)
   at org.eclipse.gef.tools.SelectEditPartTracker.performSelection(SelectEditPartTracker.java:221)
   at org.eclipse.gef.tools.SelectEditPartTracker.performConditionalSelection(SelectEditPartTracker.java:167)
   at org.eclipse.gef.tools.SelectEditPartTracker.handleButtonDown(SelectEditPartTracker.java:92)
   at org.eclipse.gef.tools.AbstractTool.mouseDown(AbstractTool.java:1091)
   at org.eclipse.gef.tools.SelectionTool.mouseDown(SelectionTool.java:514)
   at org.eclipse.gef.EditDomain.mouseDown(EditDomain.java:245)
   at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMousePressed(DomainEventDispatcher.java:348)
   at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(LightweightSystem.java:523)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:192)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
   at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
   at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
   at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
   at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
"

Additional Info:
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_79
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

Outcomes