Uploaded image for project: 'Apache Hop (Retired)'
  1. Apache Hop (Retired)
  2. HOP-4149

crash remote execution workflow with linked resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Hop Server
    • None

    Description

      Hi

      i try to execute remotely my workflow on a remote server .

      If i don't add linked ressources, the workflow start remotely with a normal error because it crash on start a pipeline in Workflow 

      but if i add linked resources, the zip appeared correctly on the server in temp direcotry but it miss the workflow file in zip

      inevitably the workflow don't appear in the web hop server

      Error reporting: 
      2022/08/19 16:34:56 - Hop - Starting workflow
      2022/08/19 16:34:56 - file:///C:/Dev/git/hop_deco/DECO_Ref_Update_1.hwf : DECO_Ref_Update_1 - Executing this workflow using the Remote Workflow Engine with run configuration 'Workflow Run Configuration On Test Serveur'
      2022/08/19 16:34:56 - file:///C:/Dev/git/hop_deco/DECO_Ref_Update_1.hwf : DECO_Ref_Update_1 - ERROR: Error starting workflow
      2022/08/19 16:34:56 - file:///C:/Dev/git/hop_deco/DECO_Ref_Update_1.hwf : DECO_Ref_Update_1 - ERROR: org.apache.hop.core.exception.HopException:
      2022/08/19 16:34:56 - file:///C:/Dev/git/hop_deco/DECO_Ref_Update_1.hwf : DECO_Ref_Update_1 - There was an error passing the exported workflow to the remote server:
      2022/08/19 16:34:56 - file:///C:/Dev/git/hop_deco/DECO_Ref_Update_1.hwf : DECO_Ref_Update_1 - org.apache.hop.core.exception.HopXmlException: Unable to load the workflow from XML file
      [zip:file:///D:/hop_data/temp/export_d9b664a5-8be7-4236-89a3-227c2f498aa0.zip!DECO_Ref_Update_1.hwf]Error reading information from input streamInvalid byte 2 of 3-byte UTF-8 sequence.
      at org.apache.hop.workflow.WorkflowMeta.<init>(WorkflowMeta.java:429)   at org.apache.hop.workflow.WorkflowMeta.<init>(WorkflowMeta.java:401)  
      at org.apache.hop.www.RegisterPackageServlet.generateBody(RegisterPackageServlet.java:107)  at org.apache.hop.www.BodyHttpServlet.doGet(BodyHttpServlet.java:66)    
      at org.apache.hop.www.BaseHttpServlet.doPost(BaseHttpServlet.java:96)   at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)  
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)  
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)    
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)  
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)    
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)  
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)    
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)    
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)    
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)    
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234)  
      at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:59)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:567)  
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)  
      at org.eclipse.jetty.server.Server.handle(Server.java:516)  
      at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)  
      at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)  
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)    
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)  
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)  
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)    
      at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)  
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)    
      at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)  
      at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
      at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
      at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: org.apache.hop.core.exception.HopXmlException: Error reading information from input streamInvalid byte 2 of 3-byte UTF-8 sequence.  
      at org.apache.hop.core.xml.XmlHandler.loadXmlFile(XmlHandler.java:611)  at org.apache.hop.core.xml.XmlHandler.loadXmlFile(XmlHandler.java:537)
      at org.apache.hop.core.xml.XmlHandler.loadXmlFile(XmlHandler.java:521)  at org.apache.hop.workflow.WorkflowMeta.<init>(WorkflowMeta.java:417)   ... 38 moreCaused by: org.xml.sax.SAXParseException;
      lineNumber: 168; columnNumber: 9; Invalid byte 2 of 3-byte UTF-8 sequence.  at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)    
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at java.xml/javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:122)  
      at org.apache.hop.core.xml.XmlHandler.loadXmlFile(XmlHandler.java:588)  ... 41 moreCaused by: org.apache.xerces.impl.io.MalformedByteSequenceException: Invalid byte 2 of 3-byte UTF-8 sequence.    
      at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source) at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)    at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
          at org.apache.xerces.impl.XMLEntityScanner.scanContent(Unknown Source)  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source)    
          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
          at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)  
          at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)    
          ... 45 more
      2022/08/19 16:34:56 - file:///C:/Dev/git/hop_deco/DECO_Ref_Update_1.hwf : DECO_Ref_Update_1 -
      2022/08/19 16:34:56 - file:///C:/Dev/git/hop_deco/DECO_Ref_Update_1.hwf : DECO_Ref_Update_1 -   at org.apache.hop.workflow.engines.remote.RemoteWorkflowEngine.sendToHopServer(RemoteWorkflowEngine.java:400)
      2022/08/19 16:34:56 - file:///C:/Dev/git/hop_deco/DECO_Ref_Update_1.hwf : DECO_Ref_Update_1 -   at org.apache.hop.workflow.engines.remote.RemoteWorkflowEngine.startExecution(RemoteWorkflowEngine.java:247)
      2022/08/19 16:34:56 - file:///C:/Dev/git/hop_deco/DECO_Ref_Update_1.hwf : DECO_Ref_Update_1 -   at org.apache.hop.ui.hopgui.file.workflow.HopGuiWorkflowGraph.lambda$start$10(HopGuiWorkflowGraph.java:3591)
      2022/08/19 16:34:56 - file:///C:/Dev/git/hop_deco/DECO_Ref_Update_1.hwf : DECO_Ref_Update_1 -   at java.base/java.lang.Thread.run(Thread.java:834)
       

      Attachments

        1. image-2022-08-19-16-46-22-730.png
          36 kB
          COCHIE Jeremie
        2. image-2022-08-19-16-43-57-846.png
          34 kB
          COCHIE Jeremie
        3. image-2022-08-19-16-42-36-203.png
          45 kB
          COCHIE Jeremie

        Activity

          People

            Unassigned Unassigned
            jerem59 COCHIE Jeremie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: