-
1. Re: Mina Route: Error executing command: java.lang.NullPointerException
feyl Mar 19, 2012 10:07 AM (in response to feyl)Any idea? really?
-
2. Re: Mina Route: Error executing command: java.lang.NullPointerException
davsclaus Mar 20, 2012 1:14 AM (in response to feyl)Is all you see on the console: Error executing command: NullPointerException? There is nothing about this in log file in data/logs ?
-
3. Re: Mina Route: Error executing command: java.lang.NullPointerException
feyl Mar 20, 2012 11:15 AM (in response to davsclaus)Yep, that's all I get from the console. And nothing from the logs except this :
15:34:08,787 | INFO | l Console Thread | Console | 36 - org.apache.karaf.shell.console - 2.2.2.fuse-04-06 | Exception caught while executing command
java.lang.NullPointerException
Thanks
-
4. Re: Mina Route: Error executing command: java.lang.NullPointerException
davsclaus Mar 20, 2012 11:26 AM (in response to feyl)And just to be sure you have installed the camel-mina feature beforehand. And you are using the mina 1.x version in your maven project?
-
5. Re: Mina Route: Error executing command: java.lang.NullPointerException
feyl Mar 20, 2012 11:49 AM (in response to davsclaus) -
6. Re: Mina Route: Error executing command: java.lang.NullPointerException
feyl Mar 20, 2012 12:35 PM (in response to feyl)My maven project is using the mina-core-2.0.1.jar
-
7. Re: Mina Route: Error executing command: java.lang.NullPointerException
davsclaus Mar 20, 2012 12:38 PM (in response to feyl)Yes you need to use the Mina 1.x, I think its 1.1.7.
Camel 2.10 will include a camel-mina2 component, that supports Mina2 API. Until then you will have to wait and use the Mina 1.x API, which is what Camel 2.9.x and older requires.
-
8. Re: Mina Route: Error executing command: java.lang.NullPointerException
feyl Mar 21, 2012 11:01 AM (in response to davsclaus)How can I do that? I mean, my pom.xml has as parent the fuse feature :
I'm pretty new on that stuff, and I'm a little confused about how should I operate to depend on mina 1.x since it looks like this dependency sounds to be the one provided by Fuse and seems to be linked to mina 2.x?
Thank you for your precious help
-
9. Re: Mina Route: Error executing command: java.lang.NullPointerException
davsclaus Mar 21, 2012 2:00 PM (in response to feyl)Why do you use that parent dependency (org.apache.servicemix.features)?
You should not do that.
The mina version that Fuse Camel 2.8 uses is defined in this pom.xml file, that have the versions:
-
10. Re: Mina Route: Error executing command: java.lang.NullPointerException
njiang Mar 21, 2012 8:37 PM (in response to feyl)No, the feature file is just for Fuse ESB to install or uninstall the bundles for you.
You pom should not have any relationship of it.
Willem
-
11. Re: Mina Route: Error executing command: java.lang.NullPointerException
feyl Mar 22, 2012 7:08 AM (in response to njiang)I think I just missunderstoud the feature stuff... I'm starting to see my mistake, and things are getting clearer for me.
So, I changed my pom.xml, removed the parent, put the right version along with my dependencies, updated my code for 1.1.7 compliance and packaged the bundle... And get the same result at deployment. Here is my pom :
Now I don't see what I'm doing wrong. Any clue?
Thanks
-
12. Re: Mina Route: Error executing command: java.lang.NullPointerException
feyl Apr 6, 2012 11:01 AM (in response to feyl)Can somebody help me on this please?
-
13. Re: Mina Route: Error executing command: java.lang.NullPointerException
glennboschmans Apr 26, 2012 6:03 AM (in response to feyl)I have the same issue. Did you find a solution yet?
-
14. Re: Mina Route: Error executing command: java.lang.NullPointerException
feyl Apr 26, 2012 6:16 AM (in response to glennboschmans)Unfortunately no. I've created a unit test in order to test my route with a simpler codec, but still does not work. I'll post my short unit test maybe somebody can help us.