News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - giaco

#1
Hi, yesterday I upgraded netxms to 2.2.1, and so I did with nxshell.
Today I tried to run nxshell with some scripts and got this error:
Exception in thread "Thread-0" java.lang.NoClassDefFoundError: org/simpleframework/xml/Serializer
        at org.netxms.client.maps.NetworkMapLink.<init>(NetworkMapLink.java:50)
        at org.netxms.client.objects.NetworkMap.<init>(NetworkMap.java:108)
        at org.netxms.client.NXCSession.createObjectFromMessage(NXCSession.java:1169)
        at org.netxms.client.NXCSession.access$700(NXCSession.java:192)
        at org.netxms.client.NXCSession$ReceiverThread.run(NXCSession.java:432)
Caused by: java.lang.ClassNotFoundException: org.simpleframework.xml.Serializer
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)                                                                                   
        ... 5 more


After digging for some time i found that simpleframework library is simply missing inside the jar. Adding the library into the nxshell jar solved my problem.

Best regards