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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]