Skip to content

Instantly share code, notes, and snippets.

@kevinjalbert
Created January 25, 2012 20:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinjalbert/1678331 to your computer and use it in GitHub Desktop.
Save kevinjalbert/1678331 to your computer and use it in GitHub Desktop.
Javalanche-0.4 Error - Issue #1
scan:
javalancheTask:
[junit] Scanning for mutations
[junit] org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
[junit] at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:110)
[junit] at org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTuplizer(EntityTuplizerFactory.java:135)
[junit] at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
[junit] at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:323)
[junit] at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:433)
[junit] at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
[junit] at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
[junit] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:231)
[junit] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1313)
[junit] at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
[junit] at de.unisb.cs.st.javalanche.mutation.results.persistence.HibernateUtil.<clinit>(HibernateUtil.java:34)
[junit] at de.unisb.cs.st.javalanche.mutation.results.persistence.QueryManager.<clinit>(QueryManager.java:56)
[junit] at de.unisb.cs.st.javalanche.mutation.javaagent.classFileTransfomer.MutationScanner.addShutDownHook(MutationScanner.java:62)
[junit] at de.unisb.cs.st.javalanche.mutation.javaagent.classFileTransfomer.MutationScanner.<init>(MutationScanner.java:55)
[junit] at de.unisb.cs.st.javalanche.mutation.javaagent.MutationPreMain.premain(MutationPreMain.java:84)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit] at java.lang.reflect.Method.invoke(Method.java:616)
[junit] at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:343)
[junit] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:358)
[junit] Caused by: java.lang.reflect.InvocationTargetException
[junit] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[junit] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
[junit] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[junit] at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
[junit] at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:107)
[junit] ... 20 more
[junit] Caused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
[junit] at net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47)
[junit] at net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)
[junit] at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)
[junit] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
[junit] at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
[junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
[junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
[junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
[junit] at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
[junit] at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)
[junit] at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
[junit] at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:188)
[junit] at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:128)
[junit] at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:78)
[junit] ... 25 more
[junit] java.lang.ExceptionInInitializerError
[junit] at de.unisb.cs.st.javalanche.mutation.results.persistence.HibernateUtil.<clinit>(HibernateUtil.java:38)
[junit] at de.unisb.cs.st.javalanche.mutation.results.persistence.QueryManager.<clinit>(QueryManager.java:56)
[junit] at de.unisb.cs.st.javalanche.mutation.javaagent.classFileTransfomer.MutationScanner.addShutDownHook(MutationScanner.java:62)
[junit] at de.unisb.cs.st.javalanche.mutation.javaagent.classFileTransfomer.MutationScanner.<init>(MutationScanner.java:55)
[junit] at de.unisb.cs.st.javalanche.mutation.javaagent.MutationPreMain.premain(MutationPreMain.java:84)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit] at java.lang.reflect.Method.invoke(Method.java:616)
[junit] at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:343)
[junit] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:358)
[junit] Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
[junit] at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:110)
[junit] at org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTuplizer(EntityTuplizerFactory.java:135)
[junit] at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
[junit] at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:323)
[junit] at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:433)
[junit] at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
[junit] at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
[junit] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:231)
[junit] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1313)
[junit] at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
[junit] at de.unisb.cs.st.javalanche.mutation.results.persistence.HibernateUtil.<clinit>(HibernateUtil.java:34)
[junit] ... 10 more
[junit] Caused by: java.lang.reflect.InvocationTargetException
[junit] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[junit] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
[junit] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[junit] at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
[junit] at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:107)
[junit] ... 20 more
[junit] Caused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
[junit] at net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47)
[junit] at net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)
[junit] at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)
[junit] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
[junit] at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
[junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
[junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
[junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
[junit] at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
[junit] at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)
[junit] at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
[junit] at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:188)
[junit] at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:128)
[junit] at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:78)
[junit] ... 25 more
[junit] Exception in thread "main" java.lang.reflect.InvocationTargetException
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[junit] at java.lang.reflect.Method.invoke(Method.java:616)
[junit] at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:343)
[junit] at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:358)
[junit] Caused by: java.lang.RuntimeException: Instrumentation failed
[junit] at de.unisb.cs.st.javalanche.mutation.javaagent.MutationPreMain.premain(MutationPreMain.java:115)
[junit] ... 6 more
[junit] Caused by: java.lang.ExceptionInInitializerError
[junit] at de.unisb.cs.st.javalanche.mutation.results.persistence.HibernateUtil.<clinit>(HibernateUtil.java:38)
[junit] at de.unisb.cs.st.javalanche.mutation.results.persistence.QueryManager.<clinit>(QueryManager.java:56)
[junit] at de.unisb.cs.st.javalanche.mutation.javaagent.classFileTransfomer.MutationScanner.addShutDownHook(MutationScanner.java:62)
[junit] at de.unisb.cs.st.javalanche.mutation.javaagent.classFileTransfomer.MutationScanner.<init>(MutationScanner.java:55)
[junit] at de.unisb.cs.st.javalanche.mutation.javaagent.MutationPreMain.premain(MutationPreMain.java:84)
[junit] ... 6 more
[junit] Caused by: org.hibernate.HibernateException: Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
[junit] at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:110)
[junit] at org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTuplizer(EntityTuplizerFactory.java:135)
[junit] at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
[junit] at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:323)
[junit] at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:433)
[junit] at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
[junit] at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
[junit] at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:231)
[junit] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1313)
[junit] at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
[junit] at de.unisb.cs.st.javalanche.mutation.results.persistence.HibernateUtil.<clinit>(HibernateUtil.java:34)
[junit] ... 10 more
[junit] Caused by: java.lang.reflect.InvocationTargetException
[junit] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[junit] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
[junit] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[junit] at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
[junit] at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(EntityTuplizerFactory.java:107)
[junit] ... 20 more
[junit] Caused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(Z)V
[junit] at net.sf.cglib.core.DebuggingClassWriter.<init>(DebuggingClassWriter.java:47)
[junit] at net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter(DefaultGeneratorStrategy.java:30)
[junit] at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:24)
[junit] at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
[junit] at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
[junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
[junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
[junit] at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
[junit] at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
[junit] at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)
[junit] at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
[junit] at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:188)
[junit] at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:128)
[junit] at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:78)
[junit] ... 25 more
[junit] FATAL ERROR in native method: processing of -javaagent failed
[junit] Test de.unisb.cs.st.javalanche.mutation.runtime.testDriver.junit.JavalancheWrapperTestSuite FAILED (crashed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment