Hello,
on both 7.0 and 7.0.1 BOS community studio, when trying to create a Validator on a form or a field, using a Groovy expression, the following error occurs:
"An error has occurred. See error log for more details.
org.eclipse.ui.part.FileEditorInput cannot be cast to org.eclipse.emf.ecore.EObject"
I’ve tried the Studio on several machines with the same results.
The error does not happen in Studio v6.5.1
Seems like a bug.
Java version: 1.8.0_31
Error stack and configuration follows:
ERROR LOG ------------------------------------------------------------------------------------------------
!SESSION 2015-07-08 20:01:12.166 -----------------------------------------------
eclipse.buildId=7.0.1.
java.version=1.8.0_31
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: --launcher.XXMaxPermSize512m -clearPersistedState
Command-line arguments: -os win32 -ws win32 -arch x86 --launcher.XXMaxPermSize512m -clearPersistedState
!ENTRY org.eclipse.jdt.launching.macosx 4 0 2015-07-08 20:01:36.848
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jdt.launching.macosx [1226]
Unresolved requirement: Require-Capability: eclipse.platform; filter:=“(osgi.os=macosx)”
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.eclipse.jdt.launching.ui.macosx 4 0 2015-07-08 20:01:36.918
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.jdt.launching.ui.macosx [1243]
Unresolved requirement: Require-Capability: eclipse.platform; filter:=“(osgi.os=macosx)”
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
!ENTRY org.bonitasoft.studio.common.repository 1 0 2015-07-08 20:01:57.302
!MESSAGE Creating repository default…
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:01:57.302
!MESSAGE Updating RSS feed:7-0-blogs.xml
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:01:57.302
!MESSAGE Updating RSS feed:7-0-documentation.xml
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:01:57.312
!MESSAGE Updating RSS feed:7-0-training.xml
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:01:57.312
!MESSAGE Updating RSS feed:7-0-videos-community.xml
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:01:57.312
!MESSAGE Updating RSS feed:7-0-examples-community.xml
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:01:57.312
!MESSAGE Updating RSS feed:7-0-community.xml
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:01:58.873
!MESSAGE RSS feed:7-0-community.xml updated successfuly!
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:01:58.883
!MESSAGE RSS feed:7-0-examples-community.xml updated successfuly!
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:01:58.883
!MESSAGE RSS feed:7-0-training.xml updated successfuly!
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:01:58.883
!MESSAGE RSS feed:7-0-documentation.xml updated successfuly!
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:01:58.893
!MESSAGE RSS feed:7-0-blogs.xml updated successfuly!
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:01:58.903
!MESSAGE RSS feed:7-0-videos-community.xml updated successfuly!
!ENTRY org.bonitasoft.studio.common 1 0 2015-07-08 20:02:01.245
!MESSAGE Initializing BONITA.HOME
!ENTRY org.bonitasoft.studio.common 1 0 2015-07-08 20:02:04.165
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP
!ENTRY org.bonitasoft.studio.common 1 0 2015-07-08 20:02:04.175
!MESSAGE BONITA.HOME installed.
!ENTRY org.bonitasoft.studio.engine 1 0 2015-07-08 20:02:04.235
!MESSAGE Copying tomcat bundle in workspace…
!ENTRY org.bonitasoft.studio.engine 1 0 2015-07-08 20:02:12.516
!MESSAGE Tomcat bundle copied in workspace.
!ENTRY org.bonitasoft.studio.engine 1 0 2015-07-08 20:02:12.516
!MESSAGE Copying Designer war in tomcat/webapps…
!ENTRY org.bonitasoft.studio.engine 1 0 2015-07-08 20:02:14.176
!MESSAGE Designer war copied in tomcat/webapps.
!ENTRY org.bonitasoft.studio.engine 1 0 2015-07-08 20:02:14.176
!MESSAGE Starting tomcat…
!ENTRY org.bonitasoft.studio.engine 1 0 2015-07-08 20:02:14.196
!MESSAGE Starting studio watchdog on 6969
!ENTRY org.bonitasoft.studio.designer 1 0 2015-07-08 20:02:15.136
!MESSAGE Starting RESTLET server on port 49993…
!ENTRY org.bonitasoft.studio.connectors.database.drivers 1 0 2015-07-08 20:02:19.597
!MESSAGE Initializing repository with Database driver.
!ENTRY org.bonitasoft.studio.connectors.database.drivers 1 0 2015-07-08 20:02:19.607
!MESSAGE Initializing repository with ojdbc6.jar Database driver
!ENTRY org.bonitasoft.studio.connectors.database.drivers 1 0 2015-07-08 20:02:19.697
!MESSAGE Initializing repository with sqljdbc4.jar Database driver
!ENTRY org.bonitasoft.studio.connectors.database.drivers 1 0 2015-07-08 20:02:19.707
!MESSAGE Initializing repository with h2-1.3.170.jar Database driver
!ENTRY org.bonitasoft.studio.connectors.database.drivers 1 0 2015-07-08 20:02:19.767
!MESSAGE Initializing repository with derby.jar Database driver
!ENTRY org.bonitasoft.studio.connectors.database.drivers 1 0 2015-07-08 20:02:19.807
!MESSAGE Initializing repository with sqlite-jdbc-3.7.2.jar Database driver
!ENTRY org.bonitasoft.studio.connectors.database.drivers 1 0 2015-07-08 20:02:19.907
!MESSAGE Initializing repository with mysql-connector-java-5.1.23-bin.jar Database driver
!ENTRY org.bonitasoft.studio.connectors.database.drivers 1 0 2015-07-08 20:02:19.967
!MESSAGE Initializing repository with hsqldb.jar Database driver
!ENTRY org.bonitasoft.studio.connectors.database.drivers 1 0 2015-07-08 20:02:20.027
!MESSAGE Initializing repository with postgresql-9.2-1002.jdbc4.jar Database driver
!ENTRY org.bonitasoft.studio.common 1 0 2015-07-08 20:02:26.308
!MESSAGE Configuring bonita client on host localhost:8080 with API_TYPE=HTTP
!ENTRY org.bonitasoft.studio.common.repository 1 0 2015-07-08 20:02:27.238
!MESSAGE Updating build path…
!ENTRY org.bonitasoft.studio.common.repository 1 0 2015-07-08 20:02:56.762
!MESSAGE Repository default created in 00:00:59
!ENTRY org.bonitasoft.studio.application 1 0 2015-07-08 20:03:37.611
!MESSAGE Startup duration : 00:01:44
!ENTRY org.bonitasoft.studio.common.repository 1 0 2015-07-08 20:03:56.143
!MESSAGE Performing migration on Training_Request-v70-1b.proc from 7.0.0-007 to latest…
!ENTRY org.bonitasoft.studio.common.repository 1 0 2015-07-08 20:04:10.730
!MESSAGE Performing migration on _Z2_CgSV_EeW2IvCwOwxPFg.conf from 7.0.0-007 to latest…
!ENTRY org.bonitasoft.studio.engine 1 0 2015-07-08 20:04:32.307
!MESSAGE Tomcat server started.
!ENTRY org.bonitasoft.studio.actors 1 0 2015-07-08 20:04:35.808
!MESSAGE Loading organization ACME in portal…
!ENTRY org.eclipse.equinox.event 4 0 2015-07-08 20:04:39.488
!MESSAGE Exception while dispatching event org.osgi.service.event.Event [topic=org/eclipse/e4/ui/model/application/ApplicationElement/tags/REMOVE] to handler org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler@91ebbe
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.IllegalStateException: Application does not have an active window
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:62)
at org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler$1.run(UIEventObjectSupplier.java:56)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:218)
at org.eclipse.e4.ui.internal.di.UIEventObjectSupplier$UIEventHandler.handleEvent(UIEventObjectSupplier.java:53)
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:81)
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.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:249)
at org.eclipse.emf.common.notify.impl.NotifyingListImpl.remove(NotifyingListImpl.java:725)
at org.eclipse.emf.common.util.AbstractEList.remove(AbstractEList.java:462)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$1.handleEvent(PartRenderingEngine.java:157)
at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:218)
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:81)
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.UIElementImpl.setToBeRendered(UIElementImpl.java:303)
at org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon$2.run(CleanupAddon.java:286)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:341)
at org.eclipse.jface.dialogs.MessageDialog.open(MessageDialog.java:371)
at org.eclipse.jface.dialogs.MessageDialog.openInformation(MessageDialog.java:449)
at org.bonitasoft.studio.importer.handler.DefaultImportStatusDialogHandler.open(DefaultImportStatusDialogHandler.java:40)
at org.bonitasoft.studio.importer.handler.ImportHandler$1.run(ImportHandler.java:61)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
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.bonitasoft.studio.application.BonitaStudioApplication.createAndRunWorkbench(BonitaStudioApplication.java:93)
at org.bonitasoft.studio.application.BonitaStudioApplication.start(BonitaStudioApplication.java:88)
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:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
Caused by: java.lang.IllegalStateException: Application does not have an active window
at org.eclipse.e4.ui.internal.workbench.ApplicationPartServiceImpl.getActiveWindowService(ApplicationPartServiceImpl.java:43)
at org.eclipse.e4.ui.internal.workbench.ApplicationPartServiceImpl.requestActivation(ApplicationPartServiceImpl.java:77)
at org.eclipse.e4.ui.internal.workbench.ApplicationPartServiceImpl.requestActivation(ApplicationPartServiceImpl.java:77)
at org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon.unzoom(MinMaxAddon.java:819)
at org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon.subscribeTopicTagsChanged(MinMaxAddon.java:365)
at sun.reflect.GeneratedMethodAccessor7.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:55)
… 77 more
!ENTRY org.eclipse.jface 4 2 2015-07-08 20:05:39.749
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.lang.ClassCastException: org.eclipse.ui.part.FileEditorInput cannot be cast to org.eclipse.emf.ecore.EObject
at org.bonitasoft.studio.validators.ui.property.section.AvailableExpressionTypeFilterWitoutContingentWidgets.isContingentField(AvailableExpressionTypeFilterWitoutContingentWidgets.java:52)
at org.bonitasoft.studio.validators.ui.property.section.AvailableExpressionTypeFilterWitoutContingentWidgets.select(AvailableExpressionTypeFilterWitoutContingentWidgets.java:43)
at org.bonitasoft.studio.groovy.ui.viewer.GroovyViewer.setContext(GroovyViewer.java:263)
at org.bonitasoft.studio.groovy.ui.providers.GroovyScriptExpressionEditor.bindExpression(GroovyScriptExpressionEditor.java:462)
at org.bonitasoft.studio.scripting.provider.ScriptExpressionEditor.bindExpression(ScriptExpressionEditor.java:251)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog.showContent(EditExpressionDialog.java:364)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog$6.run(EditExpressionDialog.java:297)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog.expressionTypeChanged(EditExpressionDialog.java:293)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog$3.selectionChanged(EditExpressionDialog.java:250)
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.TableViewer.setSelection(TableViewer.java:162)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:388)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog.create(EditExpressionDialog.java:168)
at org.eclipse.jface.window.Window.open(Window.java:797)
at org.bonitasoft.studio.expression.editor.viewer.ExpressionViewer.openEditDialog(ExpressionViewer.java:497)
at org.bonitasoft.studio.expression.editor.viewer.ExpressionViewer.editControlSelected(ExpressionViewer.java:348)
at org.bonitasoft.studio.expression.editor.viewer.ExpressionViewer$3.handleEvent(ExpressionViewer.java:325)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
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.bonitasoft.studio.application.BonitaStudioApplication.createAndRunWorkbench(BonitaStudioApplication.java:93)
at org.bonitasoft.studio.application.BonitaStudioApplication.start(BonitaStudioApplication.java:88)
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:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
!ENTRY org.eclipse.jface 4 2 2015-07-08 20:08:41.968
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.lang.ClassCastException: org.eclipse.ui.part.FileEditorInput cannot be cast to org.eclipse.emf.ecore.EObject
at org.bonitasoft.studio.validators.ui.property.section.AvailableExpressionTypeFilterWitoutContingentWidgets.isContingentField(AvailableExpressionTypeFilterWitoutContingentWidgets.java:52)
at org.bonitasoft.studio.validators.ui.property.section.AvailableExpressionTypeFilterWitoutContingentWidgets.select(AvailableExpressionTypeFilterWitoutContingentWidgets.java:43)
at org.bonitasoft.studio.groovy.ui.viewer.GroovyViewer.setContext(GroovyViewer.java:263)
at org.bonitasoft.studio.groovy.ui.providers.GroovyScriptExpressionEditor.bindExpression(GroovyScriptExpressionEditor.java:462)
at org.bonitasoft.studio.scripting.provider.ScriptExpressionEditor.bindExpression(ScriptExpressionEditor.java:251)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog.showContent(EditExpressionDialog.java:364)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog$6.run(EditExpressionDialog.java:297)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog.expressionTypeChanged(EditExpressionDialog.java:293)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog$3.selectionChanged(EditExpressionDialog.java:250)
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.TableViewer.setSelection(TableViewer.java:162)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:388)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog.create(EditExpressionDialog.java:168)
at org.eclipse.jface.window.Window.open(Window.java:797)
at org.bonitasoft.studio.expression.editor.viewer.ExpressionViewer.openEditDialog(ExpressionViewer.java:497)
at org.bonitasoft.studio.expression.editor.viewer.ExpressionViewer.editControlSelected(ExpressionViewer.java:348)
at org.bonitasoft.studio.expression.editor.viewer.ExpressionViewer$3.handleEvent(ExpressionViewer.java:325)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
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.bonitasoft.studio.application.BonitaStudioApplication.createAndRunWorkbench(BonitaStudioApplication.java:93)
at org.bonitasoft.studio.application.BonitaStudioApplication.start(BonitaStudioApplication.java:88)
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:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
!ENTRY org.eclipse.jface 4 2 2015-07-08 20:09:20.178
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.lang.ClassCastException: org.eclipse.ui.part.FileEditorInput cannot be cast to org.eclipse.emf.ecore.EObject
at org.bonitasoft.studio.validators.ui.property.section.AvailableExpressionTypeFilterWitoutContingentWidgets.isContingentField(AvailableExpressionTypeFilterWitoutContingentWidgets.java:52)
at org.bonitasoft.studio.validators.ui.property.section.AvailableExpressionTypeFilterWitoutContingentWidgets.select(AvailableExpressionTypeFilterWitoutContingentWidgets.java:43)
at org.bonitasoft.studio.groovy.ui.viewer.GroovyViewer.setContext(GroovyViewer.java:263)
at org.bonitasoft.studio.groovy.ui.providers.GroovyScriptExpressionEditor.bindExpression(GroovyScriptExpressionEditor.java:462)
at org.bonitasoft.studio.scripting.provider.ScriptExpressionEditor.bindExpression(ScriptExpressionEditor.java:251)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog.showContent(EditExpressionDialog.java:364)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog$6.run(EditExpressionDialog.java:297)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog.expressionTypeChanged(EditExpressionDialog.java:293)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog$3.selectionChanged(EditExpressionDialog.java:250)
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.handleSelect(StructuredViewer.java:1202)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1231)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:408)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at org.bonitasoft.studio.expression.editor.viewer.ExpressionViewer.openEditDialog(ExpressionViewer.java:497)
at org.bonitasoft.studio.expression.editor.viewer.ExpressionViewer.editControlSelected(ExpressionViewer.java:348)
at org.bonitasoft.studio.expression.editor.viewer.ExpressionViewer$3.handleEvent(ExpressionViewer.java:325)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
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.bonitasoft.studio.application.BonitaStudioApplication.createAndRunWorkbench(BonitaStudioApplication.java:93)
at org.bonitasoft.studio.application.BonitaStudioApplication.start(BonitaStudioApplication.java:88)
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:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
!ENTRY org.eclipse.jface 4 2 2015-07-08 20:10:51.339
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.lang.ClassCastException: org.eclipse.ui.part.FileEditorInput cannot be cast to org.eclipse.emf.ecore.EObject
at org.bonitasoft.studio.validators.ui.property.section.AvailableExpressionTypeFilterWitoutContingentWidgets.isContingentField(AvailableExpressionTypeFilterWitoutContingentWidgets.java:52)
at org.bonitasoft.studio.validators.ui.property.section.AvailableExpressionTypeFilterWitoutContingentWidgets.select(AvailableExpressionTypeFilterWitoutContingentWidgets.java:43)
at org.bonitasoft.studio.groovy.ui.viewer.GroovyViewer.setContext(GroovyViewer.java:263)
at org.bonitasoft.studio.groovy.ui.providers.GroovyScriptExpressionEditor.bindExpression(GroovyScriptExpressionEditor.java:462)
at org.bonitasoft.studio.scripting.provider.ScriptExpressionEditor.bindExpression(ScriptExpressionEditor.java:251)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog.showContent(EditExpressionDialog.java:364)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog$6.run(EditExpressionDialog.java:297)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog.expressionTypeChanged(EditExpressionDialog.java:293)
at org.bonitasoft.studio.expression.editor.viewer.EditExpressionDialog$3.selectionChanged(EditExpressionDialog.java:250)
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.handleSelect(StructuredViewer.java:1202)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1231)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:408)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at org.bonitasoft.studio.expression.editor.viewer.ExpressionViewer.openEditDialog(ExpressionViewer.java:497)
at org.bonitasoft.studio.expression.editor.viewer.ExpressionViewer.editControlSelected(ExpressionViewer.java:348)
at org.bonitasoft.studio.expression.editor.viewer.ExpressionViewer$3.handleEvent(ExpressionViewer.java:325)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
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.bonitasoft.studio.application.BonitaStudioApplication.createAndRunWorkbench(BonitaStudioApplication.java:93)
at org.bonitasoft.studio.application.BonitaStudioApplication.start(BonitaStudioApplication.java:88)
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:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
CONFIGURATION ------------------------------------------------------------
*** System properties:
applicationXMI=org.eclipse.ui.workbench/LegacyIDE.e4xmi
awt.toolkit=sun.awt.windows.WToolkit
bonita.home=C:\BOS701\workspace\bonita
eclipse.application=org.bonitasoft.studio.application.application
eclipse.buildId=7.0.1.
eclipse.commands=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\BOS701\BonitaBPMCommunity.exe
-name
BonitaBPMCommunity
–launcher.library
C:\BOS701\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140603-1326\eclipse_1603.dll
-startup
C:\BOS701\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
–launcher.overrideVmargs
–launcher.XXMaxPermSize512m
-clearPersistedState
-vm
C:\Program Files\Java\jre1.8.0_31\bin\client\jvm.dll
eclipse.home.location=file:/C:/BOS701/
eclipse.launcher=C:\BOS701\BonitaBPMCommunity.exe
eclipse.launcher.name=BonitaBPMCommunity
eclipse.log.level=INFO
eclipse.p2.data.area=@config.dir/…/p2
eclipse.p2.profile=DefaultProfile
eclipse.product=org.bonitasoft.studio.product
eclipse.startTime=1436374872166
eclipse.stateSaveDelayInterval=30000
eclipse.vm=C:\Program Files\Java\jre1.8.0_31\bin\client\jvm.dll
eclipse.vmargs=-Dosgi.requiredJavaVersion=1.7
-Dfile.encoding=UTF8