Hi,

I recently updated my test harness to Java 1.6 from 1.5.  The product we are
doing performance testing on is finally moving to 1.6.

But, when I went up to 1.6, Jmeter is no longer able to load my jmx files. 
When I try to load them, I get the error I will attach to the bottom of this
message.

I'm guessing the problem is with a difference in serialization between 1.5
and 1.6.  Can someone give me a pointer to convert these test plans to 1.6? 
I don't want to completely re-write them.

Thanks,
Greg




Caused by: com.thoughtworks.xstream.XStream$InitializationException: Could
not i
nstatiate converter :
com.thoughtworks.xstream.converters.enums.EnumSetConverter
 : null
        at
com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream
.java:657)
        at
com.thoughtworks.xstream.XStream.setupConverters(XStream.java:626)
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:373)
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:308)
        at org.apache.jmeter.save.SaveService$1.<init>(SaveService.java:69)
        at org.apache.jmeter.save.SaveService.<clinit>(SaveService.java:67)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:198)
        ... 13 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:45)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:528)
        at
com.thoughtworks.xstream.XStream.dynamicallyRegisterConverter(XStream
.java:650)
        ... 20 more
Caused by: java.lang.RuntimeException: Could not access
java.util.EnumSet.elemen
tType field
        at com.thoughtworks.xstream.core.util.Fields.find(Fields.java:18)
        at
com.thoughtworks.xstream.converters.enums.EnumSetConverter.<init>(Enu
mSetConverter.java:31)
-- 
View this message in context: 
http://www.nabble.com/Switched-from-Java-1.5-to-1.6%2C-now-can%27t-load-jmx-Test-Plans-tp16360173p16360173.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to