Hi,
having read the stepwise article about 100% pure EOF Applications
(http://www.stepwise.com/Articles/Technical/2001-07-01.01.html),
I´m trying to figure out if it´s possible to get EOF working inside an
RCP Application.
So I added the relevant WebObjects jars to lib (eoacess, eocontrol,
javafoundation, javaxml, javajdbcadaptor) and compiled successfully. But
on runtime the application always fails with:
java.lang.ExceptionInInitializerError
at com.moleque.pas.checklist.Application.loadModel(Application.java:65)
at com.moleque.pas.checklist.Application.run(Application.java:36)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
...
Caused by: java.lang.NullPointerException
at
com.webobjects.foundation.NSBundle.LoadUserAndBundleProperties(NSBundle.java:313)
at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:2262)
... 15 more
The problem is that MainBundle cannot be resolved, that is already trying
NSBundle.mainBundle() returns the above error.
Has anyone got to work EOF with RCP? Or can point to me how to overcome
this NSBundle problem?
I´m using Eclipse 3.2.2, WebObjects jars 5.3.2, and Windows XP.
Thanks for any hints in advance,
Georg
--
\o/ Georg von Bülow, Moleque de Idéias Educação e Tecnologia Ltda
| Phone: 55-21-2710-0178 E-mail: [EMAIL PROTECTED]
/ \ http://www.moleque.com.br Niterói - Rio de Janeiro - Brasil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]