Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 472835

Summary: Update prereqs for Mars.2
Product: [WebTools] WTP Releng Reporter: Harald Albers <eclipse>
Component: relengAssignee: Vaninder Rajput <vaninder>
Status: CLOSED FIXED QA Contact: Carl Anderson <ccc>
Severity: blocker    
Priority: P3 CC: cbridgha, ccc, david_williams, deboer, dimitar.giormov, marcelopllanosc, max, naci.dai, neil.hauge, petya.sabeva, prog85, raghunathan.srinivasan, rpofuk, vaninder
Version: unspecifiedFlags: neil.hauge: pmc_approved+
petya.sabeva: pmc_approved? (david_williams)
petya.sabeva: pmc_approved? (cbridgha)
petya.sabeva: pmc_approved? (raghunathan.srinivasan)
petya.sabeva: pmc_approved? (naci.dai)
ccc: pmc_approved+
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=472451
Whiteboard: PMC_Approved
Attachments:
Description Flags
software description files for both environments none

Description Harald Albers CLA 2015-07-16 09:09:17 EDT
Created attachment 255243 [details]
software description files for both environments

Abstract:
---------
JPA Diagram Editor is disfunctional in Mars. There is a workaround, though: use it with previous Graphit version.



Description:
------------

After adding JPA Diagram Editor 1.2.101 to Eclipse Mars, the Diagram editor is not functional. The Part dies with "diagramTypeProvider must not be null":

java.lang.IllegalArgumentException: diagramTypeProvider must not be null
	at org.eclipse.graphiti.ui.internal.editor.GFPaletteRoot.<init>(GFPaletteRoot.java:86)
	at org.eclipse.graphiti.ui.editor.DefaultPaletteBehavior.createPaletteRoot(DefaultPaletteBehavior.java:107)
	at org.eclipse.graphiti.ui.editor.DefaultPaletteBehavior.getPaletteRoot(DefaultPaletteBehavior.java:119)
	at org.eclipse.graphiti.ui.editor.DiagramBehavior.getPaletteRoot(DiagramBehavior.java:789)
	at org.eclipse.graphiti.ui.editor.DiagramEditor.getPaletteRoot(DiagramEditor.java:439)
	at org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette.setEditDomain(GraphicalEditorWithFlyoutPalette.java:161)
	at org.eclipse.graphiti.ui.editor.DiagramEditor.setEditDomain(DiagramEditor.java:848)
	at org.eclipse.graphiti.ui.editor.DiagramBehavior.initConfigurationProvider(DiagramBehavior.java:1425)
	at org.eclipse.graphiti.ui.editor.DiagramBehavior.setInput(DiagramBehavior.java:385)
	at org.eclipse.graphiti.ui.editor.DiagramEditor.setInput(DiagramEditor.java:307)
	at org.eclipse.graphiti.ui.editor.DiagramEditor.init(DiagramEditor.java:224)
	at org.eclipse.jpt.jpadiagrameditor.ui.internal.JPADiagramEditor.init(JPADiagramEditor.java:305)
	at org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:361)
	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:319)
	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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)
	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:879)
	at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)
	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345)
	at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)
	at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:99)
	at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4761)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
	at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
	at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
	at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
	at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
	at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85)
	at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
	at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
	at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:494)
	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:458)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:724)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:396)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1166)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3234)
	at org.eclipse.ui.internal.WorkbenchPage.access$25(WorkbenchPage.java:3149)
	at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:3131)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3126)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3090)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3071)
	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:329)
	at org.eclipse.jpt.jpadiagrameditor.ui.internal.modelintegration.ui.OpenJpaDiagramActionDelegate.openDiagramEditor(OpenJpaDiagramActionDelegate.java:82)
	at org.eclipse.jpt.jpadiagrameditor.ui.internal.modelintegration.ui.OpenJpaDiagramActionDelegate$OpenEditorRunnable.run(OpenJpaDiagramActionDelegate.java:69)
	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:162)
	at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:154)
	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:4155)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3772)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
	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(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:669)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1488)



and a previous exception that points me to Graphiti:

org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.jpt.jpadiagrameditor.ui" was unable to instantiate class "org.eclipse.jpt.jpadiagrameditor.ui.internal.provider.JPAEditorDiagramTypeProvider".
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188)
	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.graphiti.ui.internal.platform.ExtensionManager.createDiagramTypeProvider(ExtensionManager.java:271)
	at org.eclipse.graphiti.ui.editor.DiagramBehavior.initDiagramTypeProvider(DiagramBehavior.java:407)
	at org.eclipse.graphiti.ui.editor.DiagramBehavior.setInput(DiagramBehavior.java:384)
	at org.eclipse.graphiti.ui.editor.DiagramEditor.setInput(DiagramEditor.java:307)
	at org.eclipse.graphiti.ui.editor.DiagramEditor.init(DiagramEditor.java:224)
	at org.eclipse.jpt.jpadiagrameditor.ui.internal.JPADiagramEditor.init(JPADiagramEditor.java:305)
	at org.eclipse.ui.internal.EditorReference.initialize(EditorReference.java:361)
	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:319)
	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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:898)
	at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:879)
	at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)
	at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345)
	at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264)
	at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)
	at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)
	at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:99)
	at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)
	at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)
	at org.eclipse.swt.widgets.Display.syncExec(Display.java:4761)
	at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)
	at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)
	at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)
	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)
	at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)
	at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)
	at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)
	at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85)
	at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)
	at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)
	at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)
	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:494)
	at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:458)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:724)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:396)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1166)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3234)
	at org.eclipse.ui.internal.WorkbenchPage.access$25(WorkbenchPage.java:3149)
	at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:3131)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3126)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3090)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3071)
	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:329)
	at org.eclipse.jpt.jpadiagrameditor.ui.internal.modelintegration.ui.OpenJpaDiagramActionDelegate.openDiagramEditor(OpenJpaDiagramActionDelegate.java:82)
	at org.eclipse.jpt.jpadiagrameditor.ui.internal.modelintegration.ui.OpenJpaDiagramActionDelegate$OpenEditorRunnable.run(OpenJpaDiagramActionDelegate.java:69)
	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:162)
	at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:154)
	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:4155)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3772)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
	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(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:669)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/graphiti/platform/IDiagramEditor
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
	at java.lang.Class.getConstructor0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
	... 95 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.graphiti.platform.IDiagramEditor cannot be found by org.eclipse.jpt.jpadiagrameditor.ui_1.2.101.v201501141513
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:439)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 100 more


Steps to reproduce:
-------------------
1. Install Eclipse 4.5
2. Add JPA Diagram Editor 1.2.101.v201501141530
   This will pull in Graphiti 0.12.0.v20150603-0807
3. Create an JPA project with default settings. 
   Use "Disable Library Configuration"
4. Right click on the project, select JPA Tools/Open Diagram

Expected behavior: The Editor opens
Actual behavior: A part with the message "diagramTypeProvider must not be null" opens


Workaround:
-----------
The editor works when used with a previous version of Graphiti:
1. Install Eclipse 4.5
2. Install Graphiti 0.11.4.v20150701-1432 from
   http://download.eclipse.org/graphiti/updates/0.11.4
3. Install JPA Diagram Editor.
4. Create JPA project as described above
5. Open JPA Diagram Editor as described above

Result: JPA Diagram Editor opens as expected.
Comment 1 Harald Albers CLA 2015-10-05 13:12:02 EDT
Update for Mars.1

Same behaviour as with Mars.

The involved feature versions are slightly differnt:
  JPA Diagram Editor 1.2.101.v201501141513
  default Graphiti   0.12.1.v20150916-0905
Comment 2 Maxym Kutsevol CLA 2015-10-17 14:04:50 EDT
Affects me too.

The cause it deprecation of IDiagramEditor

http://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.graphiti.doc%2Fjavadoc%2Fdeprecated-list.html
Comment 3 Dimitar Giormov CLA 2015-11-24 08:40:17 EST
Hi,

basically the issue is that JPA Diagram editor is build against really old version of graphiti. 
I tried to update the dependencies, so hopefully this should solve the issue:

https://github.com/dgiormov/debtools.dali.jpa.editor.fix
Comment 4 Marcelo Llanos CLA 2016-01-11 15:02:43 EST
Install Graphiti 0.11.4.v20150701-1432 from

   http://download.eclipse.org/graphiti/updates/0.11.4

It does work , but you must select all packages.
Comment 5 Robert Pofuk CLA 2016-01-14 14:06:42 EST
I rebuild diagram editor from latest source and it worked without problem.
Comment 7 Petya Sabeva CLA 2016-02-01 08:56:08 EST
It's definitely a stop-ship defect. The diagram editor cannot be opened.

There is a workaround - to download the previous version of Graphiti.

The fix was tested manually and all the existing JUnit tests are passing
successfully.

The reason for not opening a diagram editor is the too old dependencies to Graphiti. In Graphiti 0.10.x version, there is a deprecated interface, which is deleted in 0.12.x version. Because we are referring to Graphiti 0.10.x version, the jpa diagram editor project is build with that interface. Because the refences to the old interface are removed long ago, the change requires some of the update sites in the org.eclipse.jpt.jpadiagrameditor.releng pom.xml to be updated to point to the latest eclipse Mars versions.

The risk is very low.
Comment 8 Neil Hauge CLA 2016-02-01 09:56:09 EST
Carl...Are any other changes required on the WTP build side needed to pull in these updated dependencies?  It seems like we would need higher level changes to get the correct dependency versions.
Comment 9 Carl Anderson CLA 2016-02-01 10:22:53 EST
Tran used to keep these dependencies up to date.  For the build, we point at:

<graphiti-repo.url>http://download.eclipse.org/graphiti/updates/milestones</graphiti-repo.url>

It looks like we are building against the 0.13.0 driver for Mars.2.  So this is just an issue with the Graphiti link in the dependencies section, right?
Comment 10 Carl Anderson CLA 2016-02-01 14:24:47 EST
We are going to use this bug to update all of our dependencies for WTP 3.7.2 for Mars.2
Comment 11 Petya Sabeva CLA 2016-02-02 04:21:04 EST
Forgot to update feature pom.xml version. Here is the updated github patch https://github.com/psabeva/R3_5_maintenance/commit/165526bcbf3abaaf5134956ba96bc5c174a937fe
Comment 12 Petya Sabeva CLA 2016-02-08 07:05:23 EST
Hi guys,

last week I had some difficulties to push the changes. Finally, I resolved my git issues, so should I wait for another pmc approval or I can push the changes to R3_5_maintenance branch?
Comment 13 Carl Anderson CLA 2016-02-10 09:36:04 EST
(In reply to Petya Sabeva from comment #12)
> Hi guys,
> 
> last week I had some difficulties to push the changes. Finally, I resolved
> my git issues, so should I wait for another pmc approval or I can push the
> changes to R3_5_maintenance branch?

Petya,

Please commit your patch for RC4, using this bug.
Comment 14 Petya Sabeva CLA 2016-02-10 09:43:28 EST
(In reply to Carl Anderson from comment #13)
> (In reply to Petya Sabeva from comment #12)
> > Hi guys,
> > 
> > last week I had some difficulties to push the changes. Finally, I resolved
> > my git issues, so should I wait for another pmc approval or I can push the
> > changes to R3_5_maintenance branch?
> 
> Petya,
> 
> Please commit your patch for RC4, using this bug.

Actually, I checked the Simultaneous Release Calendar and noticed that on Tuesday two pmc reviews are required for RC3, so I pushed my changes yesterday... Shall I revert them now?
Comment 15 Neil Hauge CLA 2016-02-10 10:33:54 EST
Should be fine to leave them in unless Carl says otherwise.
Comment 16 Harald Albers CLA 2016-02-29 05:22:44 EST
With Mars.2, the situation got slightly worse:

Mars.2 includes WTP 3.7.2 with JPA Diagram Editor 1.2.201.v201602090909, which will pull in Graphiti 0.12.2.v20160120-1255.

The JPA Diagram Editor is not functional, [Caused by: java.lang.ClassNotFoundException: org.eclipse.graphiti.platform.IDiagramEditor], see inital bug report above for details.

The workaround is harder to apply, though because the most recent JPA Diagram Editor (1.2.201.v201602090909) will not install over Graphiti 0.12.2.v20160120-1255.

So the workaround now is use old versions of both Graphiti and WTP:
1. Install Eclipse 4.5.2
2. Install Graphiti 0.11.4.v20150701-1432 from
   http://download.eclipse.org/graphiti/updates/0.11.4
3. Install JPA Diagram Editor 1.2.101.v201501141513 from WTP 3.7.1
Comment 17 Harald Albers CLA 2016-03-01 02:51:01 EST
update: 
> The workaround is harder to apply, though because the most recent JPA Diagram 
> Editor (1.2.201.v201602090909) will not install over Graphiti 0.12.2.v20160120-
> 1255.
Should be Graphiti 0.11.4.v20150701-1432.
Comment 18 Harald Albers CLA 2016-04-27 10:16:25 EDT
Will this be fixed in Neon?
Comment 19 Harald Albers CLA 2016-06-23 05:25:32 EDT
In Neon, the problem is fixed.

I verfied by 
- installing eclipse-jee-neon-R-win32-x86_64.zip on a vanilla Windows VM
- adding JPA Diagram Editor 1.2.300.v201604110621 from http://download.eclipse.org/releases/neon, which pulled in Graphiti 0.13.0.v20160608-1043
- creating a JPA project
- opening the JPA Diagram Editor on the JPA project.

The JPA Diagram Editor opened as expected.

Thanks for fixing.
As far as I am concerned, this bug can be closed.
Comment 20 Chuck Bridgham CLA 2016-06-23 09:20:18 EDT
Thanks for verifying