Jump to content

java.lang.NoClassDefFoundError sun.misc.Unsafe.ens


dayserivera

Recommended Posts

When my application that is been executed on JBoss + Linux (I don't know the version) is generating the following stack trace:

 

java.lang.NoClassDefFoundError	sun.misc.Unsafe.ensureClassInitialized(Native Method)	sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(UnsafeFieldAccessorFactory.java:20)	sun.reflect.ReflectionFactory.newFieldAccessor(ReflectionFactory.java:122)	java.lang.reflect.Field.acquireFieldAccessor(Field.java:779)	java.lang.reflect.Field.getFieldAccessor(Field.java:760)	java.lang.reflect.Field.getLong(Field.java:398)	java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1478)	java.io.ObjectStreamClass.access$400(ObjectStreamClass.java:47)	java.io.ObjectStreamClass$3.run(ObjectStreamClass.java:335)	java.security.AccessController.doPrivileged(Native Method)	java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:333)	java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:253)	java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:453)	java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)	java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)	java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)	java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)	java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1835)	java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1759)	java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)	java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)	java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)	java.util.ArrayList.readObject(ArrayList.java:554)	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	java.lang.reflect.Method.invoke(Method.java:324)	java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)	java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1736)	java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)	java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)	java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1835)	java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1759)	java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)	java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)	java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1835)	java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1759)	java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)	java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)	java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)	net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:129)	net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:106)	net.sf.jasperreports.engine.JasperManager.loadReport(JasperManager.java:1038)	br.--	br.--	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	java.lang.reflect.Method.invoke(Method.java:324)	org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)	org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)	org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)	br.fucapi.saa.componentes.ActionServlet.process(ActionServlet.java:195)	org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

Could anyone help me, please?

Code:
xxcv
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...