Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse SCADA » NullPointerExcepiton world.esim(eclipse error window pop up)
NullPointerExcepiton world.esim [message #1775693] Fri, 03 November 2017 14:02 Go to next message
José Cava is currently offline José CavaFriend
Messages: 5
Registered: October 2017
Location: Brazil
Junior Member
Every time I click at world.esim system node eclipse scada configuration project it pops up a window showing:

Problems occurred when invoking code from plug-in: "org.eclipse.jface".
Checking details, I have:
java.lang.NullPointerException
at org.eclipse.emf.edit.provider.ItemProviderAdapter.getCreateChildImage(ItemProviderAdapter.java:1875)
at org.eclipse.emf.edit.command.CreateChildCommand.getImage(CreateChildCommand.java:338)
at org.eclipse.emf.edit.ui.action.StaticSelectionCommandAction.configureAction(StaticSelectionCommandAction.java:173)
at org.eclipse.emf.edit.ui.action.CreateChildAction.<init>(CreateChildAction.java:47)
at org.eclipse.emf.edit.ui.action.CreateChildAction.<init>(CreateChildAction.java:57)
at org.eclipse.scada.configuration.infrastructure.presentation.InfrastructureActionBarContributor.generateCreateChildActions(InfrastructureActionBarContributor.java:353)
at org.eclipse.scada.configuration.infrastructure.presentation.InfrastructureActionBarContributor.selectionChanged(InfrastructureActionBarContributor.java:320)
at org.eclipse.scada.configuration.infrastructure.presentation.InfrastructureEditor.setSelection(InfrastructureEditor.java:1859)
at org.eclipse.scada.configuration.infrastructure.presentation.InfrastructureEditor$6.selectionChanged(InfrastructureEditor.java:972)
at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:158)
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:173)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:155)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2191)
at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1229)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1258)
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:405)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
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:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

I´m using eclipse neon.3 4.6.3 with openscada 1.4 and neoscada 0.4.
Re: NullPointerExcepiton world.esim [message #1775796 is a reply to message #1775693] Mon, 06 November 2017 14:23 Go to previous messageGo to next message
Adrián Salinero is currently offline Adrián SalineroFriend
Messages: 6
Registered: October 2017
Junior Member
¿Have you seen the videos of this channel: https://www.youtube.com/channel/UCL2k4JwNYkTaGf9KRlBMJZA?

You can also ask for help here: https://groups.google.com/forum/#!forum/openscada

Maybe you could try uninstalling everything related to Java on your computer and then installing JDK8.

Re: NullPointerExcepiton world.esim [message #1775969 is a reply to message #1775796] Wed, 08 November 2017 16:45 Go to previous message
José Cava is currently offline José CavaFriend
Messages: 5
Registered: October 2017
Location: Brazil
Junior Member
Thanks for reply.
I´ve found the problem, it happened because I install neoscada IDE and openscada IDE, the solucion was uninstall the openscada IDE and the error go away!

Edit:
I´ve unninstall eclipse scada 0.4 and install eclipse scada 0.3, and install openscada 1.5-integration follow the tutorial https://www.youtube.com/channel/UCL2k4JwNYkTaGf9KRlBMJZA?, now both are full installed and working.

[Updated on: Tue, 14 November 2017 14:01]

Report message to a moderator

Previous Topic:Starting with NeoSCADA
Next Topic:ParserPackage
Goto Forum:
  


Current Time: Mon Sep 24 13:31:33 GMT 2018

Powered by FUDForum. Page generated in 0.01738 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top