• 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
Local debugging while offline
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Local debugging while offline


  • Subject: Local debugging while offline
  • From: Randy Wigginton <email@hidden>
  • Date: Fri, 18 Jul 2008 10:54:04 -0700

I'm encountering something very odd, and before I debug it I'd like to see if this has happened to anyone else.

I have a Wonder Application that runs just fine as long as I am connected to the internet. If I disconnect (say, by turning my airport off), I receive the following message in my browser when I launch the application:

Application: MainBundle
Error: java.lang.IllegalStateException exception
Reason:
java.lang.IllegalStateException: An Exception occurred while generating the Exception page 'WOExceptionPage'. This is most likely due to an error in 'WOExceptionPage' itself or WebObjects encountered an uncaught exception while creating a Session object.



Below are the logs of the original Exception which occured in com.realtor.dolphin.app.Application, then the later Exception in WOExceptionPage.


Original Exception:
java.lang.IllegalArgumentException: <com.realtor.dolphin.app.Application> Class 'Session' exists (interface org.apache.axis.session.Session) but is not a subclass of WOSession.
at com .webobjects.appserver.WOApplication._sessionClass(WOApplication.java: 1925)
at com .webobjects .appserver.WOApplication.createSessionForRequest(WOApplication.java: 1964)
at er .extensions .appserver.ERXApplication.createSessionForRequest(ERXApplication.java: 1844)
at com .webobjects .appserver .WOApplication._initializeSessionInContext(WOApplication.java:2101)
at com .webobjects .appserver ._private .WOComponentRequestHandler ._dispatchWithPreparedApplication(WOComponentRequestHandler.java:319)
at com .webobjects .appserver ._private .WOComponentRequestHandler ._handleRequest(WOComponentRequestHandler.java:369)
at com .webobjects .appserver ._private .WOComponentRequestHandler .handleRequest(WOComponentRequestHandler.java:442)
at com .webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java: 1678)
at er .extensions .appserver .ERXApplication.dispatchRequestImmediately(ERXApplication.java:1594)
at er .extensions .appserver.ERXApplication.dispatchRequest(ERXApplication.java:1558)
at com .webobjects .appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
at com .webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java: 226)
at java.lang.Thread.run(Thread.java:613)




Why is the behavior dependent on whether I am online or not? It would be nice to be able to run & debug purely locally, especially while on an airplane.

I would suspect my classpath, except that does not depend on my online status.

Any ideas?

_______________________________________________
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


  • Follow-Ups:
    • Re: Local debugging while offline
      • From: Florijan Stamenkovic <email@hidden>
  • Prev by Date: Re: WO5.4 WOPopupButton wanting formatter
  • Next by Date: what happened to the prototypes?
  • Previous by thread: Re: WO5.4 WOPopupButton wanting formatter
  • Next by thread: Re: Local debugging while offline
  • Index(es):
    • Date
    • Thread