josmas / openwonderland

Automatically exported from code.google.com/p/openwonderland
GNU General Public License v2.0
3 stars 5 forks source link

Duplicate class when configuring avatar #164

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Configure avatar
2.
3.

What is the expected output? What do you see instead?
Output in Java console is:
07-Feb-2011 10:26:33 com.sun.xml.bind.v2.runtime.reflect.opt.Injector inject
WARNING: duplicate class definition bug occured? Please report this : 
org/jdesktop/wonderland/modules/avatarbase/client/imi/WonderlandCharacterParams$
ConfigList$JaxbAccessorM_getFeet_setFeet_[Lorg_jdesktop_wonderland_modules_avata
rbase_client_imi_WonderlandCharacterParams$FeetConfigElement;
java.lang.ClassFormatError: Illegal class name 
"org/jdesktop/wonderland/modules/avatarbase/client/imi/WonderlandCharacterParams
$ConfigList$JaxbAccessorM_getFeet_setFeet_[Lorg_jdesktop_wonderland_modules_avat
arbase_client_imi_WonderlandCharacterParams$FeetConfigElement;" in class file 
org/jdesktop/wonderland/modules/avatarbase/client/imi/WonderlandCharacterParams$
ConfigList$JaxbAccessorM_getFeet_setFeet_[Lorg_jdesktop_wonderland_modules_avata
rbase_client_imi_WonderlandCharacterParams$FeetConfigElement;
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:205)
    at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:85)
    at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:89)
    at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:114)
    at com.sun.xml.bind.v2.runtime.reflect.Accessor$GetterSetterReflection.optimize(Accessor.java:369)
    at com.sun.xml.bind.v2.runtime.property.ArrayProperty.<init>(ArrayProperty.java:65)
    at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.<init>(ArrayERProperty.java:84)
    at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.<init>(ArrayElementProperty.java:96)
    at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.<init>(ArrayElementNodeProperty.java:58)
    at sun.reflect.GeneratedConstructorAccessor76.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:124)
    at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:179)
    at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:515)
    at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:330)
    at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1140)
    at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)
    at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at javax.xml.bind.ContextFinder.newInstance(Unknown Source)
    at javax.xml.bind.ContextFinder.find(Unknown Source)
    at javax.xml.bind.JAXBContext.newInstance(Unknown Source)
    at javax.xml.bind.JAXBContext.newInstance(Unknown Source)
    at org.jdesktop.wonderland.modules.avatarbase.client.imi.WonderlandCharacterParams.<clinit>(WonderlandCharacterParams.java:123)
    at org.jdesktop.wonderland.modules.avatarbase.client.imi.ImiAvatar.createAvatar(ImiAvatar.java:100)
    at org.jdesktop.wonderland.modules.avatarbase.client.ui.AvatarConfigFrame.newButtonActionPerformed(AvatarConfigFrame.java:482)
    at org.jdesktop.wonderland.modules.avatarbase.client.ui.AvatarConfigFrame.access$400(AvatarConfigFrame.java:54)
    at org.jdesktop.wonderland.modules.avatarbase.client.ui.AvatarConfigFrame$5.actionPerformed(AvatarConfigFrame.java:290)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
07-Feb-2011 10:26:33 com.sun.xml.bind.v2.runtime.reflect.opt.Injector inject

What version of the product are you using? On what operating system?
Version 4616
Ubuntu 9.10

Please provide any additional information below.

Original issue reported on code.google.com by johnscott276@gmail.com on 7 Feb 2011 at 10:31

GoogleCodeExporter commented 9 years ago
I'm getting the same error.

Version 4816
Windows 7
Java Web Start 1.6.0_26

Original comment by hpb...@gmail.com on 6 Mar 2012 at 8:34

GoogleCodeExporter commented 9 years ago
I've fixed this issue in my own environment by upgrading the jaxb jars.

Original comment by hpb...@gmail.com on 12 Mar 2012 at 8:24