• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • DSO:L1
  • drb
  • Reporter: teck
  • April 23, 2007
  • 0
  • Watchers: 0
  • July 27, 2012
  • April 23, 2007

Description

Use *..* include and fire up a DSO enabled Jetty, you’ll get this

java.lang.ClassCastException: java.lang.String at org.mortbay.xml.XmlConfiguration.set(XmlConfiguration.java:312) at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:237) at org.mortbay.xml.XmlConfiguration.configure(XmlConfiguration.java:203) at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:919) 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.mortbay.start.Main.invokeMain(Main.java:183) at org.mortbay.start.Main.start(Main.java:497) at org.mortbay.start.Main.main(Main.java:115)

Comments

Tim Eck 2007-04-23

This is because com.tc.object.bytecode.Manageable interface declares an accessible static field named “TYPE”. It is not important to have this field declared on this interface and it should be moved (probably to BytecodeUtil)