{"action":"opened","issue":{"url":"https://api.github.com/repos/Activiti/Activiti-Designer/issues/33","labels_url":"https://api.github.com/repos/Activiti/Activiti-Designer/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/Activiti/Activiti-Designer/issues/33/comments","events_url":"https://api.github.com/repos/Activiti/Activiti-Designer/issues/33/events","html_url":"https://github.com/Activiti/Activiti-Designer/issues/33","id":107184417,"number":33,"title":"Activiti Designer Palette Problem on Eclipse 4.5 Mars","user":{"login":"phermsdorf","id":11061378,"avatar_url":"https://avatars.githubusercontent.com/u/11061378?v=3","gravatar_id":"","url":"https://api.github.com/users/phermsdorf","html_url":"https://github.com/phermsdorf","followers_url":"https://api.github.com/users/phermsdorf/followers","following_url":"https://api.github.com/users/phermsdorf/following{/other_user}","gists_url":"https://api.github.com/users/phermsdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/phermsdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phermsdorf/subscriptions","organizations_url":"https://api.github.com/users/phermsdorf/orgs","repos_url":"https://api.github.com/users/phermsdorf/repos","events_url":"https://api.github.com/users/phermsdorf/events{/privacy}","received_events_url":"https://api.github.com/users/phermsdorf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-18T11:29:11Z","updated_at":"2015-09-18T11:29:11Z","closed_at":null,"body":"Hi,\r\n\r\nI have extended the default palette with some custom Service Tasks which works fine in Eclipse Luna.\r\n\r\nAfter upgrading to Eclipse Mars I get the following Stacktrace in the Eclipse Error Log when trying to Drag and Drop an Element from the Palette into the Diagram:\r\n\r\n```\r\njava.lang.NullPointerException: entry\r\n\tat java.util.zip.ZipFile.getInputStream(ZipFile.java:347)\r\n\tat java.util.jar.JarFile.getInputStream(JarFile.java:447)\r\n\tat org.activiti.designer.util.extension.JarClassLoader.loadClassData(JarClassLoader.java:92)\r\n\tat org.activiti.designer.util.extension.JarClassLoader.loadClass(JarClassLoader.java:61)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat java.lang.Class.forName0(Native Method)\r\n\tat java.lang.Class.forName(Class.java:348)\r\n\tat sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:114)\r\n\tat sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125)\r\n\tat sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)\r\n\tat sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:439)\r\n\tat sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:241)\r\n\tat sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)\r\n\tat sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)\r\n\tat java.lang.Class.createAnnotationData(Class.java:3521)\r\n\tat java.lang.Class.annotationData(Class.java:3510)\r\n\tat java.lang.Class.getAnnotation(Class.java:3415)\r\n\tat org.activiti.designer.integration.servicetask.AbstractCustomServiceTask.getRuntimeAnnotation(AbstractCustomServiceTask.java:137)\r\n\tat org.activiti.designer.integration.servicetask.AbstractCustomServiceTask.getDelegateType(AbstractCustomServiceTask.java:74)\r\n\tat org.activiti.designer.features.CreateServiceTaskFeature.create(CreateServiceTaskFeature.java:64)\r\n\tat org.eclipse.graphiti.features.impl.AbstractCreateFeature.execute(AbstractCreateFeature.java:100)\r\n\tat org.eclipse.graphiti.internal.command.GenericFeatureCommandWithContext.execute(GenericFeatureCommandWithContext.java:64)\r\n\tat org.eclipse.graphiti.internal.command.GFPreparableCommand.doExecute(GFPreparableCommand.java:37)\r\n\tat org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)\r\n\tat org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:115)\r\n\tat org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)\r\n\tat org.eclipse.graphiti.internal.command.CommandExec.executeCommand(CommandExec.java:85)\r\n\tat org.eclipse.graphiti.ui.internal.command.CreateModelObjectCommand.execute(CreateModelObjectCommand.java:55)\r\n\tat org.eclipse.graphiti.ui.internal.editor.EmfOnGefCommand.execute(EmfOnGefCommand.java:54)\r\n\tat org.eclipse.graphiti.internal.command.GFPreparableCommand2.doExecute(GFPreparableCommand2.java:43)\r\n\tat org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)\r\n\tat org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFCommandOperation.java:119)\r\n\tat org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)\r\n\tat org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:516)\r\n\tat org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:208)\r\n\tat org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)\r\n\tat org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:84)\r\n\tat org.eclipse.graphiti.ui.internal.editor.GFCommandStack.execute(GFCommandStack.java:138)\r\n\tat org.eclipse.graphiti.ui.internal.dnd.GFTemplateTransferDropTargetListener.handleDrop(GFTemplateTransferDropTargetListener.java:55)\r\n\tat org.eclipse.gef.dnd.AbstractTransferDropTargetListener.drop(AbstractTransferDropTargetListener.java:183)\r\n\tat org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:219)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)\r\n\tat org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)\r\n\tat org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:216)\r\n\tat org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:91)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1327)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1351)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1336)\r\n\tat org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1117)\r\n\tat org.eclipse.swt.dnd.DropTarget.drag_data_received(DropTarget.java:374)\r\n\tat org.eclipse.swt.dnd.DropTarget.Drag_Data_Received(DropTarget.java:251)\r\n\tat org.eclipse.swt.internal.gtk.OS._gtk_drag_get_data(Native Method)\r\n\tat org.eclipse.swt.internal.gtk.OS.gtk_drag_get_data(OS.java:7446)\r\n\tat org.eclipse.swt.dnd.DropTarget.drag_drop(DropTarget.java:419)\r\n\tat org.eclipse.swt.dnd.DropTarget.Drag_Drop(DropTarget.java:258)\r\n\tat org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)\r\n\tat org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:9272)\r\n\tat org.eclipse.swt.widgets.Display.eventProc(Display.java:1225)\r\n\tat org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)\r\n\tat org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2422)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3428)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)\r\n\tat org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)\r\n\tat org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\r\n\tat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)\r\n\tat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\r\n\tat org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)\r\n\tat org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)\r\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)\r\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1515)\r\n\tat org.eclipse.equinox.launcher.Main.main(Main.java:1488)\r\n```\r\nHowever older Diagrams with these Custom Tasks are displayed correctly (but adding Custom Tasks to them also fails).\r\n\r\nVerified with Version 5.15 and 5.18.\r\n\r\nThanks for any hints or fixes."}}