Re: [URGENT]: Compiled app from Mac to Windows
Re: [URGENT]: Compiled app from Mac to Windows
- Subject: Re: [URGENT]: Compiled app from Mac to Windows
- From: Owen McKerrow <email@hidden>
- Date: Wed, 12 Jan 2005 09:25:47 +1100
I had this problem just the other day. It turned out that if I Zipped
the framework and FTP'd it over the folder aliais of the frameworks
wouldn't get recognized as such and so things broke.
I ended up turning on Windows file sharing and pulling the framework
down onto the Windows box that way.
On 12/01/2005, at 9:07 AM, Chuck Hill wrote:
The page is now empty and it won't load? Is there a change that the
jar containing Main.class is missing / damaged / empty?
On Jan 11, 2005, at 2:01 PM, Ralph Scheuer wrote:
Jeff,
the components are looking good, Commenting the dynamic parts out
also did not help, I do not get the Main component at all, the app is
stuck after the exception.
Ralph
Am 11.01.2005 um 22:36 schrieb Jeff Smith:
Ralph,
Are the Windows versions of the .wod, .html files in good shape--not
corrupted? I've seen this error (and the blank page in the app)
when these files somehow get trashed during the move from one box to
another.
Jeff
Ralph Scheuer wrote:
Hi there,
we have just done what we did several times before: compile a
framework and an application with XCode, throw it onto a Windows
2003 machine and install / run it there.
This has worked fine in the past with the same setup (Java 1.4.2 /
WO 5.2.3 on both machines).
However, this time it didn't. We have an app that runs fine on the
Mac and throws the exception below when run on Windows.
Is there anything obvious I might have overlooked?
Before copying the .woa and the .framework over to the Windows
machine, we pack it into a JAR and unjar it again on Windows.
As I said, this has worked every time before. This time, we get the
following Exception - the Main component is not displayed and the
app just sits there.
Any help? Thanks,
Ralph Scheuer
[2005-01-11 19:20:19 CET] <WorkerThread4>
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
java.lang.NullPointerException
[2005-01-11 19:20:19 CET] <WorkerThread4>
java.lang.NullPointerException
at
com.webobjects.appserver._private.WOComponentDefinition.<init>(WOCom
pone ntDefinition.java:84)
at
com.webobjects.appserver.WOApplication._componentDefinitionFromClass
Name d(WOApplication.java:2353)
at
com.webobjects.appserver.WOApplication._componentDefinition(WOApplic
atio n.java:2448)
at
com.webobjects.appserver.WOApplication.pageWithName(WOApplication.ja
va: 1943)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatc
hWit hPreparedSession(WOComponentRequestHandler.java:273)
at
com.webobjects.appserver._private.WOComponentRequestHandler._dispatc
hWit hPreparedApplication(WOComponentRequestHandler.java:322)
at
com.webobjects.appserver._private.WOComponentRequestHandler._handleR
eque st(WOComponentRequestHandler.java:358)
at
com.webobjects.appserver._private.WOComponentRequestHandler.handleRe
ques t(WOComponentRequestHandler.java:432)
at
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication
.jav a:1306)
at
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThr
ead. java:173)
at
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.
java :254)
at java.lang.Thread.run(Unknown Source)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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
"As of tomorrow, employees will only be able to access the building
using individual security cards. Pictures will be taken next Wednesday
employees will receive their cards in two weeks."
- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp
_______________________________________________
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