You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "shivanandullagaddi (via GitHub)" <gi...@apache.org> on 2025/11/04 06:41:27 UTC

[I] we are getting the response as like this for registerPipeline from postman (hop)

shivanandullagaddi opened a new issue, #5946:
URL: https://github.com/apache/hop/issues/5946

   we are getting the response as like this for registerPipeline from postman
   
   <TITLE> !RegisterPipelineServlet.Title! </TITLE>
   
   org.apache.hop.core.exception.HopXmlException: 
   Error reading information from XML string : 
   Premature end of file.
   
   
   at org.apache.hop.core.xml.XmlHandler.loadXmlString(XmlHandler.java:719)
   at org.apache.hop.core.xml.XmlHandler.loadXmlString(XmlHandler.java:699)
   at org.apache.hop.core.xml.XmlHandler.loadXmlString(XmlHandler.java:673)
   at org.apache.hop.pipeline.PipelineConfiguration.fromXml(PipelineConfiguration.java:79)
   at org.apache.hop.www.RegisterPipelineServlet.generateBody(RegisterPipelineServlet.java:54)
   at org.apache.hop.www.BodyHttpServlet.doGet(BodyHttpServlet.java:65)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
   at org.apache.hop.www.BaseHttpServlet.service(BaseHttpServlet.java:102)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
   at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
   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:277)
   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:383)
   at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:882)
   at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1036)
   at java.base/java.lang.Thread.run(Thread.java:842)
   
       
     
   
   Caused by: org.xml.sax.SAXParseException; Premature end of file.
   
   at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
   
   at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
   
   at org.apache.hop.core.xml.XmlHandler.loadXmlString(XmlHandler.java:710)
   
   ... 40 more
   
   
   
   request: http://localhost:8080/hop/registerPipeline
   
   Payload details for the registerPipeline:
   
   <pipeline_configuration>
   
   C:/Users/Downloads/apache-hop-client-2.14.0/hop/config/projects/default/Exampl.hpl
   
   <pipeline_execution_configuration>
   
   
   <pass_export>N</pass_export>
   <log_level>Basic</log_level>
   <log_file>N</log_file>
   <log_filename></log_filename>
   <log_file_append>N</log_file_append>
   <create_parent_folder>N</create_parent_folder>
   <clear_log>Y</clear_log>
   <show_subcomponents>Y</show_subcomponents>
   <run_configuration>local</run_configuration>
   </pipeline_execution_configuration>
   
   <metastore_json></metastore_json>
   </pipeline_configuration>
   
   _Originally posted by @shivanandullagaddi in https://github.com/apache/hop/discussions/4634#discussioncomment-14858037_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] we are getting the response as like this for registerPipeline from postman (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva closed issue #5946: we are getting the response as like this for registerPipeline from postman
URL: https://github.com/apache/hop/issues/5946


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] we are getting the response as like this for registerPipeline from postman (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on issue #5946:
URL: https://github.com/apache/hop/issues/5946#issuecomment-3484423175

   This is not an issue, It's not using our template and it has no actionable items.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] we are getting the response as like this for registerPipeline from postman (hop)

Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on issue #5946:
URL: https://github.com/apache/hop/issues/5946#issuecomment-3484530124

   I was talking about our GitHub templates for issues/feature requests.
   This is not the place to ask questions; we have GitHub discussions for that, which you are also using.
   So let's keep the question and discussions over there; spamming the same question in multiple spots will not make us help you faster.
   
   Unless the sample that was provided [here](https://hop.apache.org//manual/latest/hop-server/rest-api.html#_register_pipeline) did not work, then we have an actual issue. But that is not what I am reading in this ticket. Use that sample request, see if it works and then adapt it to your needs. You are probably missing some tags or information in the request and that's why it can't be parsed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] we are getting the response as like this for registerPipeline from postman (hop)

Posted by "shivanandullagaddi (via GitHub)" <gi...@apache.org>.
shivanandullagaddi commented on issue #5946:
URL: https://github.com/apache/hop/issues/5946#issuecomment-3484440821

   i have used the template which apache hop documentation have
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org