Skip to content

PC Worx Engineer Eclipse Plugin Error logs

edited March 2019 in PLCnext Engineer

For a (yet) unknown reason, the EngineeringLibraryBuilder stop working properly. 

It started with a java exception warning window (with no references to Phoenix Contact components), and the following times, no feedback at all.  Then I realized the same thing happened for "Insert Program Ports" and "Generate .progmeta Metaconfig " plugin utilities.

Recreating a new C++ PC Worx project from scratch and copying all original C++ source code in it seem to fix the problem, but as soon a new mistake occurs (like an error in a meta data files), the problem starts again.

So it look like some corruption that occurs in the project configuration.

==> Few days ago, I started to create output ports with larger arrays (1000 basic type items).  Could it be the source of the problem ?

==> Is there a way to find hints of the problem by some method or hidden log files ?  It would be precious to get the console output of EngineeringLibraryBuilder.exe

I am also starting to wonder if there is any compatibility issues I must be aware of ?  For example:

  • 32 bits vs 64 bits (I installed everything using 64 bits packages when the choice was offered) ?
  • Eclipse version (I am using the Oxygen v4.7.3a, installed on a path without spaces) ?
  • java version ( under C:\Program Files\Java\jre1.8.0_201 ) ?
  • Compiler optimization or debug level ?

My system configuration:

  •  PC Worx Engineer v7.2.3
  • Toolchain v2.2.1
  • com.phoenixcontact.cdt.updatesite_build_1.0.0.201711221106
  • EngineeringLibraryBuilder v1.3.0.0

Thanks for any help.

Comments

  • Hello,

    as far as I see from your other posts, you switched to the firmware 2.0 and the associated development environment. This should have solve the problems.

  • I still need to deliver my current work soon using the previous framework.  Switching port definition framework is risky at this point, and the updated English documentation is not yet available.

  • The following will be send to: Eclipse


    REPORT

    anonymousId         1dd27f5c-9d27-4684-a361-48a7fee13a02
    comment            
    eclipseBuildId      4.7.3.M20180330-0640
    eclipseProduct      org.eclipse.epp.package.cpp.product
    javaRuntimeVersion  1.8.0_201-b09
    osgiWs              win32
    osgiOs              Windows10
    osgiOsVersion       10.0.0
    osgiArch            x86_64
    severity            UNKNOWN


    STATUS

    pluginId            org.eclipse.ui
    pluginVersion       3.109.0.v20170411-1742
    code                0
    severity            4
    message             Unhandled event loop exception
    fingerprint         d7b834750ef701ba3c6103141b29e8f8

    Exception:org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
      at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
      at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
      at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
      at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
      at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:431)
      at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:446)
      at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:472)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
      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(null:-2)
      at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
      at java.lang.reflect.Method.invoke(null:-1)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
    Caused by: java.lang.NullPointerException: null
      at HIDDEN.HIDDEN(HIDDEN:-1)
      at HIDDEN.HIDDEN(HIDDEN:-1)
      at HIDDEN.HIDDEN(HIDDEN:-1)
      at HIDDEN.HIDDEN(HIDDEN:-1)
      at HIDDEN.HIDDEN(HIDDEN:-1)
      at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:577)
      at org.eclipse.jface.window.Window.create(Window.java:426)
      at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
      at HIDDEN.HIDDEN(HIDDEN:-1)
      at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:291)
      at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:92)
      at sun.reflect.GeneratedMethodAccessor77.invoke(null:-1)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
      at java.lang.reflect.Method.invoke(null:-1)
      at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:305)
      at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:239)
      at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
      at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)
      at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494)
      at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
      at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)
      at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:431)
      at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:446)
      at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:472)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
      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(null:-2)
      at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
      at java.lang.reflect.Method.invoke(null:-1)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1472)


    BUNDLES

    name                com.phoenixcontact.cdt.common
    version             1.0.0.201711221106

    name                com.phoenixcontact.cdt.exportwizard
    version             1.0.0.201711221106

    name                org.eclipse.core.commands
    version             3.9.0.v20170530-1048

    name                org.eclipse.core.databinding.observable
    version             1.6.100.v20170515-1119

    name                org.eclipse.core.databinding
    version             1.6.100.v20170515-1119

    name                org.eclipse.core.runtime
    version             3.13.0.v20170207-1030

    name                org.eclipse.e4.core.commands
    version             0.12.100.v20170513-0428

    name                org.eclipse.e4.core.contexts
    version             1.6.0.v20170322-1144

    name                org.eclipse.e4.core.di
    version             1.6.100.v20170421-1418

    name                org.eclipse.e4.ui.workbench
    version             1.5.1.v20170815-1446

    name                org.eclipse.e4.ui.workbench.renderers.swt
    version             0.14.102.v20180117-1153

    name                org.eclipse.e4.ui.workbench.swt
    version             0.14.101.v20170710-1119

    name                org.eclipse.equinox.app
    version             1.3.400.v20150715-1528

    name                org.eclipse.equinox.launcher
    version             1.4.0.v20161219-1356

    name                org.eclipse.jface
    version             3.13.2.v20171022-1656

    name                org.eclipse.swt
    version             3.106.3.v20180329-0507

    name                org.eclipse.ui
    version             3.109.0.v20170411-1742

    name                org.eclipse.ui.ide.application
    version             1.2.0.v20170512-1452

    name                org.eclipse.ui.ide
    version             3.13.1.v20170822-1526

     
  • Ok, with the stack trace it does not look like a defect in our Plug-in.

    Never the less with a bit of searching on stack overflow, it looks like a known defect in a version of org.eclipse.ui.
    https://stackoverflow.com/questions/9074189/unhandled-event-loop-exception-in-plugin-org-eclipse-ui

     

Sign In or Register to comment.