• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [URGENT]: Compiled app from Mac to Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [URGENT]: Compiled app from Mac to Windows


  • Subject: Re: [URGENT]: Compiled app from Mac to Windows
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Tue, 11 Jan 2005 23:26:19 +0100

Ralph,

I am not an expert on these things, but I find it really strange that you get a NullPointerException on one platform and not on another. It seems that something isn't getting initialized properly. Possibly because there are gaps in the port (not having all the classes that you need)?

Also try thinking of THE different thing about this app as opposed to previous ones that worked. Might give you an idea of where the problem lies.

Florijan


On Jan 11, 2005, at 21:24, 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>(WOCompon entDefinition.java:84)
at com.webobjects.appserver.WOApplication._componentDefinitionFromClassNam ed(WOApplication.java:2353)
at com.webobjects.appserver.WOApplication._componentDefinition(WOApplicati on.java:2448)
at com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java: 1943)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWi thPreparedSession(WOComponentRequestHandler.java:273)
at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWi thPreparedApplication(WOComponentRequestHandler.java:322)
at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequ est(WOComponentRequestHandler.java:358)
at com.webobjects.appserver._private.WOComponentRequestHandler.handleReque st(WOComponentRequestHandler.java:432)
at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.ja va:1306)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread .java:173)
at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.jav a: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:
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: This email sent to email@hidden
References: 
 >[URGENT]: Compiled app from Mac to Windows (From: Ralph Scheuer <email@hidden>)

  • Prev by Date: Re: [URGENT]: Compiled app from Mac to Windows
  • Next by Date: RE: Backtracking monster
  • Previous by thread: Re: [URGENT]: Compiled app from Mac to Windows
  • Next by thread: RE: Backtracking monster
  • Index(es):
    • Date
    • Thread