Hi again,
some more information. The NPE is thrown both if the fault is created
with an exception as argument or if the fault is created this way
throw new AxisFault("Stream rejected");
Michele
On Thu, 2008-02-07 at 15:28 +0000, Michele Mazzucco wrote:
> Hello everybody,
>
> I'm getting this error on the client side
>
> ERROR 15:16:40,047 (QueueController.java:200) - Unable to add
> stream for queue ServiceTwo,
> com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character
> 'E' (code 69) in prolog; expected '<'
> [java] at [row,col {unknown-source}]: [1,1]
>
> This error is not new (see here http://mail-archives.apache.org/
> mod_mbox/ws-axis-user/200707.mbox/[EMAIL PROTECTED] for
> example)
>
> when an user exception is thrown on the server side. The servers log
> tells me about an error processing a POST request. The error occurs
> at ServerWorker:421 (I'm using the NIO listener/sender)
>
> ERROR 15:15:06,766 (ServerWorker.java:421) - Error processing POST
> request
> org.apache.axis2.AxisFault:
> ncl.qosp.controller.policies.admission.streams.RejectedStreamException:
> Stream rejected 12
> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417)
> at ncl.qosp.controller.streams.StreamRoutingService.addStream
> (StreamRoutingService.java:309)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogi
> c(RawXMLINOutMessageReceiver.java:97)
> at
> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.invokeBusine
> ssLogic(AbstractInOutSyncMessageReceiver.java:42)
> at org.apache.axis2.receivers.AbstractMessageReceiver.receive
> (AbstractMessageReceiver.java:96)
> at org.apache.axis2.engine.AxisEngine.receive
> (AxisEngine.java:145)
> at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReques
> t(HTTPTransportUtils.java:275)
> at org.apache.axis2.transport.nhttp.ServerWorker.processPost
> (ServerWorker.java:207)
> at org.apache.axis2.transport.nhttp.ServerWorker.run
> (ServerWorker.java:171)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
> $Worker.runTask(ThreadPoolExecutor.java:665)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
> $Worker.run(ThreadPoolExecutor.java:690)
> at java.lang.Thread.run(Thread.java:595)
> Caused by:
> ncl.qosp.controller.policies.admission.streams.RejectedStreamException:
> ncl.qosp.controller.policies.admission.streams.RejectedStreamException:
> Stream rejected 12
> at
> ncl.qosp.controller.dispatcher.streams.StreamDispatcherImpl.addStream
> (StreamDispatcherImpl.java:363)
> at ncl.qosp.controller.streams.StreamRoutingService.addStream
> (StreamRoutingService.java:290)
> ... 14 more
> Caused by:
> ncl.qosp.controller.policies.admission.streams.RejectedStreamException:
> Stream rejected 12
> at
> ncl.qosp.controller.dispatcher.streams.StreamEvaluatorTask.call
> (StreamEvaluatorTask.java:176)
> at
> ncl.qosp.controller.dispatcher.streams.StreamEvaluatorTask.call
> (StreamEvaluatorTask.java:37)
> at java.util.concurrent.FutureTask$Sync.innerRun
> (FutureTask.java:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask
> (ThreadPoolExecutor.java:650)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run
> (ThreadPoolExecutor.java:675)
> ... 1 more
> Exception in thread "HttpServerWorker-15" java.lang.NullPointerException
> at
> org.apache.axis2.transport.nhttp.ServerWorker.handleException
> (ServerWorker.java:441)
> at org.apache.axis2.transport.nhttp.ServerWorker.processPost
> (ServerWorker.java:214)
> at org.apache.axis2.transport.nhttp.ServerWorker.run
> (ServerWorker.java:171)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
> $Worker.runTask(ThreadPoolExecutor.java:665)
> at
> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor
> $Worker.run(ThreadPoolExecutor.java:690)
> at java.lang.Thread.run(Thread.java:595)
>
>
>
> From the source code I understand that:
> 1 - the output stream is null, or
> 2 - the exception message is null
>
>
> Any idea?
>
>
> Thanks in advance,
> Michele
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]