AnsweredAssumed Answered

XOG POST failed ParseError

Question asked by brecka on Jan 16, 2014
Latest reply on Jan 17, 2014 by nick_darlington

Hi, 

after upgrade from 13.2 -> 13.3 one ouf our Clarity instances failed to respon to XOG Requests - when xogging from remote machine, following is displayed:

Login Succeeded

Request Document: test.xml

Writing output to out.xml

Failed to retrieve response document

com.niku.xog.XOGException: java.lang.RuntimeException: HTTP Error: Status-Code:

500: Internal Server Error

        at com.niku.xog.client.XOGClient.processRequest(XOGClient.java:1096)

        at com.niku.xog.client.XOGClient.processRequest(XOGClient.java:1007)

        at com.niku.xog.client.XOGClient.processRequest(XOGClient.java:679)

        at com.niku.xog.client.XOGClient.processRequest(XOGClient.java:589)

        at com.niku.xog.client.XOGClient.processRequests(XOGClient.java:1444)

        at com.niku.xog.client.XOGClient.invokeCommand(XOGClient.java:1237)

        at com.niku.xog.client.XOGClient.main(XOGClient.java:142)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:601)

        at com.werken.forehead.Forehead.run(Forehead.java:551)

        at com.werken.forehead.Forehead.main(Forehead.java:581)

Caused by: java.lang.RuntimeException: HTTP Error: Status-Code: 500: Internal Se

rver Error

        at com.niku.union.xml.SimpleSOAPMessage.processRequest(SimpleSOAPMessage

.java:316)

        at com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:88)

        at com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:79)

        at com.niku.union.xml.SimpleSOAPMessage.send(SimpleSOAPMessage.java:56)

        at com.niku.xog.client.XOGClient.processRequest(XOGClient.java:1092)

        ... 12 more

Logout Succeeded

 

- app-ca : 

ERROR 2014-01-16 08:41:59,148 [http-bio-19080-exec-148] niku.xog (clarity:none:none:none) XOG POST failed^M

java.util.NoSuchElementException: ParseError at [row,col]:[9,9]

Message: The processing instruction target matching "[xX][mM][lL]" is not allowed.

        at com.sun.xml.internal.stream.XMLEventReaderImpl.next(XMLEventReaderImpl.java:252)

        at com.niku.union.utility.StreamUtils.getXOGHeaderMetaData(StreamUtils.java:438)

        at com.niku.xog.service.XOGSOAPServlet.doPost(XOGSOAPServlet.java:154)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at com.niku.union.web.filter.CharsetFilter.doFilter(CharsetFilter.java:68)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at org.apache.catalina.filters.AddDefaultCharsetFilter.doFilter(AddDefaultCharsetFilter.java:88)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

        at com.niku.union.web.valves.ErrorPageRedirectValve.invoke(ErrorPageRedirectValve.java:70)

        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

        at java.lang.Thread.run(Thread.java:724)

 
-xml_input: 

<?xml version="1.0" encoding="UTF-8"?>

<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">

  <Header version="8.0" action="read" objectType="idea" externalSource="NIKU">

    <args name="documentLocation" value="D:\niku/xog/test/documentXogLocation"/>

    <args name="include_resources" value="true"/>

    <args name="include_tasks" value="true"/>

    <args name="include_allocations" value="true"/>

  </Header>

  <Query>

    <!-- <Filter name="objectID" criteria="EQUALS">admin</Filter> -->

  </Query>

</NikuDataBus>
 
- XML file is taken from xog/xml folder and should not contain any wild chars in the beginning of file including BOM.
 
Regards, 
Michal

Outcomes