Adam, What versions do you run with?
I am running without this problem using javassist 3.0, hivemind 1.1 , oro 2.0.6 and commons-logging 1.0.3 I am running all that with java 1.5.0_07. Regards, Jean -----Original Message----- From: Feuer, Adam [mailto:[EMAIL PROTECTED] Sent: Thursday, September 14, 2006 4:16 PM To: user@hivemind.apache.org Subject: org.apache.hivemind.ApplicationRuntimeException: Unable to create class $Runnable_10dadee6479 Folks, I'm trying to get a simple HiveMind application going to demonstrate its capabilities to my team. I couldn't get the examples to run, so I am trying to create a simple example. It's enclosed. I seem to be able to build the registry ok, but then when I do this line, I get an exception: Worker fooWorker = (Worker) this.registry.getService(FooWorkerImpl.class); The exception follows. Any ideas about what is happening? cheers adam -- Adam Feuer <[EMAIL PROTECTED]> Amazon.com Enterprise Solutions org.apache.hivemind.ApplicationRuntimeException: Unable to create class $Runnable_10dadee6479: javassist.CtClass.toClass(Ljava/lang/ClassLoader;)Ljava/lang/Class; at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonP roxy(SingletonServiceModel.java:130) at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getService(Singl etonServiceModel.java:57) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:2 10) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:2 23) at org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfra structureImpl.java:207) at org.apache.hivemind.impl.RegistryInfrastructureImpl.startup(RegistryInfrastr uctureImpl.java:434) at org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.j ava:154) at org.apache.hivemind.impl.RegistryBuilder.constructDefaultRegistry(RegistryBu ilder.java:196) at amazon.jaws.spike.configuration.hivemind.FooWorkerTest.setUp(FooWorkerTest.j ava:14) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3T estReference.java:128) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:3 8) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu nner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRu nner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner. java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner .java:196) Caused by: org.apache.hivemind.ApplicationRuntimeException: Unable to create class $Runnable_10dadee6479: javassist.CtClass.toClass(Ljava/lang/ClassLoader;)Ljava/lang/Class; at org.apache.hivemind.service.impl.CtClassSource.createClass(CtClassSource.jav a:88) at org.apache.hivemind.service.impl.AbstractFab.createClass(AbstractFab.java:92 ) at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonP roxyClass(SingletonServiceModel.java:185) at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.createSingletonP roxy(SingletonServiceModel.java:102) ... 21 more Caused by: java.lang.NoSuchMethodError: javassist.CtClass.toClass(Ljava/lang/ClassLoader;)Ljava/lang/Class; at org.apache.hivemind.service.impl.HiveMindClassPool.toClass(HiveMindClassPool .java:75) at org.apache.hivemind.service.impl.CtClassSource.createClass(CtClassSource.jav a:84) ... 24 more