Re: Recovering from Project Builder crashing in Windows
Re: Recovering from Project Builder crashing in Windows
- Subject: Re: Recovering from Project Builder crashing in Windows
- From: Chuck Hill <email@hidden>
- Date: Mon, 30 Aug 2004 09:10:26 -0700
Hi Tom,
Glad that you like it. As someone else pointed out this problem
results from the JDBCAdaptor framework not being on the classpath. For
some reason that I do not understand this has never been on the default
list of frameworks for WOLips. Perhaps I should file a feature request
for this. It may be that there is some good reason for it to be this
way, but it seems an odd choice to me.
As for knowing which models to use, it uses the models in the project
and any models in an referenced frameworks. This is a WO thing, not a
WOLips thing. If things ever go weird in your project, look in the
PB.project file in the project directory. This is a ProjectBuilder
format text file containing the project information (what is included
in the project, where it is). EOModeler and WOBuilder use this.
Finally, there is a WOLips mailing list (look on
http://www.objectstyle.org/woproject) which is very active and the best
place to get definitive answers to WOLips questions.
Chuck
On Aug 29, 2004, at 6:27 AM, Tom Jones wrote:
Chuck Chuck Chuck,
Excellent advice! I look forward to reading your book.
One problem,
My app blows up(details below) when it tries to hit the database. I
assume this is because the project can not find the EOModel file. How
does Eclipse know which EOModel to use?
Thanks,
Tom
java.lang.IllegalStateException: Unable to get the name of the class
to instantiate for the adaptor framework JavaJDBCAdaptor. 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.registeredDatabaseContextForM
odel(EODatabaseContext.java:1111)
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 com.webobjects.foundation.NSSelector.invoke(NSSelector.java:354)
at
com.webobjects.foundation.NSSelector._safeInvokeSelector(NSSelector.jav
a:108)
at
com.webobjects.eoaccess.EODatabaseContext._cooperatingObjectStoreNeeded
(EODatabaseContext.java:1290)
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
com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:
120)
at
com.webobjects.foundation.NSNotificationCenter$_Entry.invokeMethod(NSNo
tificationCenter.java:598)
at
com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotif
icationCenter.java:542)
at
com.webobjects.foundation.NSNotificationCenter.postNotification(NSNotif
icationCenter.java:572)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.requestStore(EOObject
StoreCoordinator.java:213)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.objectStoreForFetchSp
ecification(EOObjectStoreCoordinator.java:293)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpeci
fication(EOObjectStoreCoordinator.java:530)
at
com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification
(EOEditingContext.java:4053)
at
com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification
(EOEditingContext.java:4438)
at Session.fetchProjects(Session.java:43)
On Fri, 27 Aug 2004 18:49:01 -0700, Chuck Hill
<email@hidden> wrote:
Tom Tom Tom,
Why are you torturing yourself? I was stupid too, for a long time. I
resisted moving. Why are you using that obsolete, nasty IDE? Do you
enjoy the suffering? I can almost understand why some people use
xCode
on OS X. But PB? No, you don' t want to be doing that. 1997 is over
already.
Get Eclipse from
http://www.eclipse.org
Get WOLips 1.1.0.82 beta 3 from
http://www.objectstyle.org/woproject/index.html
Install, feel the grin creep over your face. Life is good again. You
will giggle maniacally to yourself. A real, kick-ass debugger,
profiling, an IDE that does not suck, hot code reload in debug mode.
Tom, you owe it to yourself. You really do. Then go have a beer.
Trust me,
Chuck
On Aug 27, 2004, at 6:29 PM, Tom Jones wrote:
I am running WO 5.2.3 on Win XP Pro. Occasionally, Project Builder
will crash, and I cannot restart it unless I restart the computer. Is
there a more graceful way to recover from these crashes?
Thanks,
Tom
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.