Re: CamelBluePrintTestSupport 2.17.0 getRouteDefinition null pointer exception

2016-12-22 Thread Grzegorz Grzybek
"); > } > }); > > modelCamelContext.start(); > > Policy policy = initPolicy(); > > MockEndpoint mockOut = getMockEndpoint("mock:out"); > mockOut.setExpectedMessageCount(1); > > template.sendBody("direct:in", policy); >

CamelBluePrintTestSupport 2.17.0 getRouteDefinition null pointer exception

2016-11-23 Thread owain
deas? Thanks, O. -- View this message in context: http://camel.465427.n5.nabble.com/CamelBluePrintTestSupport-2-17-0-getRouteDefinition-null-pointer-exception-tp5790419.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-SJMS: Null pointer exception when sending a message (+ proposed patch)

2015-03-15 Thread Claus Ibsen
Null body is not allowed > at > org.apache.camel.component.sjms.jms.JmsMessageHelper.createMessage(JmsMessageHelper.java:202) > at > org.apache.camel.component.sjms.jms.JmsMessageHelper.createMessage(JmsMessageHelper.java:156) > > Kind regards, > Stan >

Re: Camel-SJMS: Null pointer exception when sending a message (+ proposed patch)

2015-03-15 Thread Stanislaw Kulczycki
used by: javax.jms.JMSException: Null body is not allowed at org.apache.camel.component.sjms.jms.JmsMessageHelper.createMessage(JmsMessageHelper.java:202) at org.apache.camel.component.sjms.jms.JmsMessageHelper.createMessage(JmsMessageHelper.java:156) Kind regards, Stan -- View this message in context: http://camel.4

Re: Camel-SJMS: Null pointer exception when sending a message (+ proposed patch)

2015-03-15 Thread Claus Ibsen
; sampleMap.put("test", 5L); > > Object helloWorld = new Object() { > private Integer someValue = 5; > }; > > try { > Message msg = JmsMessageHelper.createMessage(session, > helloWorld, sampleMap, null); &g

Camel-SJMS: Null pointer exception when sending a message (+ proposed patch)

2015-03-13 Thread Stanislaw Kulczycki
(Exception e) { TestSupport.assertStringContains(e.getMessage(), "Unsupported message payload type"); } session.close(); connection.close(); } } Thanks & Kind regards, Stan -- View this message in context: http

Re: Null Pointer exception with camel quartz simple trigger (fireNow)

2014-05-30 Thread lakshmi.prashant
te... 3) Also, this behaviour is not consistent. In some VM's the routes complete and in some VM's, the messages stay in processing status..Kindly advise.Thanks,Lakshmi <http://camel.465427.n5.nabble.com/file/n5751737/camel_NPE.png> -- View this message in context: http://cam

Re: Null Pointer exception with camel quartz simple trigger (fireNow)

2014-05-29 Thread lakshmi.prashant
camel.465427.n5.nabble.com/Null-Pointer-exception-with-camel-quartz-simple-trigger-fireNow-tp5751692p5751734.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Null Pointer exception with camel quartz simple trigger (fireNow)

2014-05-29 Thread Claus Ibsen
tionException(e); > 130 } > 131} > 132 > > > Can you please point me why the issue is happening and what we can do to fix > the issue? > Any help / pointers is greatly appreciated. > > Many Thanks, > Lakshmi > > > > -- > View this message

Null Pointer exception with camel quartz simple trigger (fireNow)

2014-05-29 Thread lakshmi.prashant
g and what we can do to fix the issue? Any help / pointers is greatly appreciated. Many Thanks, Lakshmi -- View this message in context: http://camel.465427.n5.nabble.com/Null-Pointer-exception-with-camel-quartz-simple-trigger-fireNow-tp5751692.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: null pointer exception

2012-08-15 Thread m.pryakhin
I've had the same problem with jdk 1.7. The exception happened because of existence of ClassBeanInfoImpl class in the rt.jar in jdk 1.7. The solution was to add jaxb-impl jar to maven dependencies... -- View this message in context: http://camel.465427.n5.nabble.com/null-pointer-exce

Re: Null Pointer Exception and servicemix-karaf problems

2012-04-17 Thread Claus Ibsen
m but from server side, somehow > output is not generating) I am curious- is there anything I have to do on > servicemix (example config properties change etc) to produce output xml file > ?? > > > can Anybody give me a light upon this?? > > -- > View this message in context: &g

Re: Null Pointer Exception and servicemix-karaf problems

2012-04-17 Thread Subhanjan
tp://camel.465427.n5.nabble.com/Null-Pointer-Exception-and-servicemix-karaf-problems-tp5645869p5646282.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Null Pointer Exception and servicemix-karaf problems

2012-04-17 Thread Claus Ibsen
>        } >         }  / > > > My question is - 1) whenever I try to run it from main() by 'run as' option, > it is creating output folder "csvoutput" & inside the desired xml - Fine!!! > > But, when I try to run 2nd time, it should overwrite the

Re: null pointer exception

2012-03-05 Thread dvsridhar
Thank you very much for the response Babak. Your suggestion seems to be working. However, Camel 2.9.0 doesn't give that jaxb impl jar, so I had to manually download and use that Jar. Thanks, Sridhar -- View this message in context: http://camel.465427.n5.nabble.com/null-pointer-exce

Re: null pointer exception

2012-03-05 Thread Babak Vahdat
Hi this a JAXB bug [1] being already addressed and resolved. [1] http://java.net/jira/browse/JAXB-860 Babak -- View this message in context: http://camel.465427.n5.nabble.com/null-pointer-exception-tp5537826p5537953.html Sent from the Camel - Users mailing list archive at Nabble.com.

null pointer exception

2012-03-05 Thread dvsridhar
ng Spring root WebApplicationContext -- View this message in context: http://camel.465427.n5.nabble.com/null-pointer-exception-tp5537826p5537826.html Sent from the Camel - Users mailing list archive at Nabble.com.