Re: Webobjects-dev Digest, Vol 3, Issue 682
Re: Webobjects-dev Digest, Vol 3, Issue 682
- Subject: Re: Webobjects-dev Digest, Vol 3, Issue 682
- From: "Frederico Lellis" <email@hidden>
- Date: Tue, 10 Oct 2006 10:12:17 -0300
Hi all, im have some problems when working with wounittest2, when i run one test here junit show me this error:
java.lang.IllegalStateException: Unable to get the name of the class to instantiate for the adaptor framework JavaNoneAdaptor. The possible causes for this error are: the adaptor framework is not installed on your system, the adaptor framework is not linked into your application, or the info dictionary for this adaptor is corrupted.
at com.webobjects.eoaccess.EOAdaptor.classForAdaptorNamed(EOAdaptor.java:273)
at com.webobjects.eoaccess.EOAdaptor.adaptorWithName(EOAdaptor.java:295) at com.webobjects.eoaccess.EOAdaptor.adaptorWithModel(EOAdaptor.java
:325) at com.webobjects.eoaccess.EODatabase.<init>(EODatabase.java:215)
at com.webobjects.eoaccess.EODatabaseContext.registeredDatabaseContextForModel(EODatabaseContext.java:1110) 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 com.webobjects.foundation.NSSelector.invoke(NSSelector.java:354)
at com.webobjects.foundation.NSSelector._safeInvokeSelector(NSSelector.java:108) at com.webobjects.eoaccess.EODatabaseContext._cooperatingObjectStoreNeeded
(EODatabaseContext.java:1289) 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
com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:120) at com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod
(NSNotificationCenter.java:601) at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:545)
at com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotificationCenter.java:575) at
com.webobjects.eocontrol.EOObjectStoreCoordinator.requestStore(EOObjectStoreCoordinator.java:213) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectStoreForFetchSpecification
(EOObjectStoreCoordinator.java:293) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java
:530) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4114)
at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4500)
at moleque.espacoFisicoFramework.EoPavimento.setNumber(EoPavimento.java:43) at moleque.espacoFisicoFramework.interfaces.EdificacaoTest.adicionaPavimentoComAndar
(EdificacaoTest.java:31) 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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) at org.junit.internal.runners.TestMethodRunner.runUnprotected
(TestMethodRunner.java:81) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run
(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71)
at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected
(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run
(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.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)I'm already set JDBC adaptor into eomodel.
someone have any idea?
ty
--
******************************************************
Frederico L. Albuquerque
\o/
| Moleque de Idéias Educação e Tecnologia Ltda
/ \
e-mail:
email@hiddenemail@hidden******************************************************
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden