Uploaded image for project: 'Apache Hop (incubating)'
  1. Apache Hop (incubating)
  2. HOP-2767

Unexpected error loading class" when loading converted PDI project Workflow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.99
    • GUI
    • None

    Description

      I converted a PDI 9.1 project via file -> convert

      When trying to open the converted Workflow I get the following error and stacktrace#

      Windows Server 2008R2, Java OpenJDK 13, Hop version hop-client-0.99-20210406.151009-1

      Because of critical company information in the project files I cannot attach a workflow file.

       

      org.apache.hop.core.exception.HopException: org.apache.hop.core.exception.HopException: Error opening workflow file 'C:\PlanetPress\360e\hop\webshops\auftrag\Auftragsimport_pm7/buyern_plentymarkets_to_360.hwf'
      Unable to load the workflow from XML file [C:\PlanetPress\360e\hop\webshops\auftrag\Auftragsimport_pm7/buyern_plentymarkets_to_360.hwf]
      Unable to load workflow info from XML node
      Unable to read Workflow action copy info from XML node : org.apache.hop.core.exception.HopPluginException: Unexpected error loading class:javax/activation/DataSource
      Unexpected error loading class:javax/activation/DataSource
       
      
       at org.apache.hop.ui.hopgui.file.workflow.HopWorkflowFileType.openFile(HopWorkflowFileType.java:144) at org.apache.hop.ui.hopgui.delegates.HopGuiFileDelegate.fileOpen(HopGuiFileDelegate.java:107) at org.apache.hop.ui.hopgui.delegates.HopGuiFileDelegate.fileOpen(HopGuiFileDelegate.java:88) at org.apache.hop.ui.hopgui.HopGui.menuFileOpen(HopGui.java:557) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.apache.hop.ui.core.gui.GuiMenuWidgets.lambda$addMenuWidgets$0(GuiMenuWidgets.java:130) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4105) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1037) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3922) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3524) at org.apache.hop.ui.hopgui.HopGui.open(HopGui.java:400) at org.apache.hop.ui.hopgui.HopGui.main(HopGui.java:320)Caused by: org.apache.hop.core.exception.HopXmlException: Unable to load the workflow from XML file [C:\PlanetPress\360e\hop\webshops\auftrag\Auftragsimport_pm7/buyern_plentymarkets_to_360.hwf]
      Unable to load workflow info from XML node
      Unable to read Workflow action copy info from XML node : org.apache.hop.core.exception.HopPluginException: Unexpected error loading class:javax/activation/DataSource
      Unexpected error loading class:javax/activation/DataSource
       
      at org.apache.hop.workflow.WorkflowMeta.<init>(WorkflowMeta.java:446) at org.apache.hop.ui.hopgui.file.workflow.HopWorkflowFileType.openFile(HopWorkflowFileType.java:126) ... 15 moreCaused by: org.apache.hop.core.exception.HopXmlException: Unable to load workflow info from XML node
      Unable to read Workflow action copy info from XML node : org.apache.hop.core.exception.HopPluginException: Unexpected error loading class:javax/activation/DataSource
      Unexpected error loading class:javax/activation/DataSource
      
       at org.apache.hop.workflow.WorkflowMeta.loadXml(WorkflowMeta.java:586) at org.apache.hop.workflow.WorkflowMeta.<init>(WorkflowMeta.java:439) ... 16 moreCaused by: org.apache.hop.core.exception.HopXmlException: Unable to read Workflow action copy info from XML node : org.apache.hop.core.exception.HopPluginException: Unexpected error loading class:javax/activation/DataSource
      Unexpected error loading class:javax/activation/DataSource
      at org.apache.hop.workflow.action.ActionMeta.<init>(ActionMeta.java:141) at org.apache.hop.workflow.WorkflowMeta.loadXml(WorkflowMeta.java:545) ... 17 moreCaused by: org.apache.hop.core.exception.HopPluginException: Unexpected error loading class:javax/activation/DataSource
       at org.apache.hop.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:458) at org.apache.hop.workflow.action.ActionMeta.<init>(ActionMeta.java:110) ... 18 moreCaused by: java.lang.NoClassDefFoundError: javax/activation/DataSource at java.base/java.lang.Class.getDeclaredConstructors0(Native Method) at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3138) at java.base/java.lang.Class.getConstructor0(Class.java:3343) at java.base/java.lang.Class.newInstance(Class.java:572) at org.apache.hop.core.plugins.PluginRegistry.loadClass(PluginRegistry.java:446) ... 19 moreCaused by: java.lang.ClassNotFoundException: Unable to load class 'javax.activation.DataSource' in this classloader or in the parent at org.apache.hop.core.plugins.HopURLClassLoader.loadClass(HopURLClassLoader.java:112) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 24 moreCaused by: java.lang.ClassNotFoundException: javax.activation.DataSource at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:436) at org.apache.hop.core.plugins.HopURLClassLoader.loadClassFromThisLoader(HopURLClassLoader.java:76) at org.apache.hop.core.plugins.HopURLClassLoader.loadClass(HopURLClassLoader.java:101) ... 25 more
      

       

      Attachments

        Issue Links

          Activity

            People

              hansva Hans Van Akelyen
              xanathon Stefan Holzhauer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: