Re: If it aint broken , don't fix it!

Anders Peterson <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Organization Optimatika
Message-ID <[email protected]>
Accessing Monitor doesn't work either. I get this:


Application: JavaMonitor

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 
Application, then the later Exception in WOExceptionPage.

Original Exception: java.io.UnsupportedEncodingException: 
NSMacOSRomanStringEncoding

WOExceptionPage Exception: com.webobjects.foundation.NSForwardException 
[java.io.UnsupportedEncodingException] NSMacOSRomanStringEncoding


Anders Peterson wrote:
> Hi,
> 
> I passed by the office today and caused a problem...
> 
> There is a test server running Windows XP Professional with Java 5 and 
> WO 5.2.4 installed. The deployed WO application is built on Mac using 
> WOLips and WebObjects 5.3 and built/deployed with embedded frameworks. 
> Until today everything worked just fine.
> 
> When I logged in to the test server today I was informed about available 
> updates to both Windows XP (including a new version of IE) and Java 
> (update 10). For some reason I accepted to install these, and now the 
> WebObjects application that was already installed and running wont 
> function. It seems the application throws an 
> java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding
> whenever it should display anything in a browser. It seems to function 
> ok as long as it doesn't have to show a gui.
> 
> I'm guessing the problem is the Java update, but before I start 
> un/reinstalling I'd like to know if anyone have experienced a similar 
> problem?
> 
> /Anders
> 
> INFO - Problem: com.webobjects.foundation.NSForwardException 
> [java.io.UnsupportedEncodingException] NSMacOSRomanStringEncoding
> 
> INFO -
> 
> INFO - com.webobjects.foundation.NSForwardException for 
> java.io.UnsupportedEncodingException: NSMacOSRomanStringEncoding
> 
>     at sun.io.Converters.getConverterClass(Unknown Source)
> 
>     at sun.io.Converters.newConverter(Unknown Source)
> 
>     at sun.io.ByteToCharConverter.getConverter(Unknown Source)
> 
>     at java.lang.StringCoding.decode(Unknown Source)
> 
>     at java.lang.String.<init>(Unknown Source)
> 
>     at java.lang.String.<init>(Unknown Source)
> 
>     at 
> com.webobjects.appserver._private.WOComponentDefinition.readWoDeclaration(WOComponentDefinition.java:340) 
> 
> 
>     at 
> com.webobjects.appserver._private.WOComponentDefinition.template(WOComponentDefinition.java:279) 
> 
> 
>     at 
> com.webobjects.appserver.WOComponent.templateWithName(WOComponent.java:597)
> 
>     at com.webobjects.appserver.WOComponent.template(WOComponent.java:507)
> 
>     at 
> com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:982)
> 
>     at 
> com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:1200)
> 
>     at er.extensions.ERXSession.appendToResponse(ERXSession.java:528)
> 
>     at 
> com.webobjects.appserver.WOApplication.appendToResponse(WOApplication.java:1418) 
> 
> 
>     at 
> er.extensions.ERXApplication.appendToResponse(ERXApplication.java:968)
> 
>     at 
> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandler.java:230) 
> 
> 
>     at 
> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:287) 
> 
> 
>     at 
> com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:322) 
> 
> 
>     at 
> com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:358) 
> 
> 
>     at 
> com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:435) 
> 
> 
>     at 
> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306) 
> 
> 
>     at 
> er.extensions.ERXApplication.dispatchRequest(ERXApplication.java:1001)
> 
>     at 
> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173) 
> 
> 
>     at 
> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254) 
> 
> 
>     at java.lang.Thread.run(Unknown Source)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.