WOStats java.lang.ClassCastException: java.util.HashMap
-------------------------------------------------------
Key: WOL-786
URL: http://issues.objectstyle.org/jira/browse/WOL-786
Project: WOProject/WOLips
Issue Type: Bug
Components: woproject
Environment: Leopard 10.5.2
WebObjects 5.4.1
Java version 1.5.0_13
Reporter: Dmytro Kantala
Priority: Minor
I am getting the following exception when accessing the WOStats page.
java.lang.ClassCastException: java.util.HashMap
at com.webobjects.woextensions.WOStatsPage._initIvars(WOStatsPage.java:81)
at com .webobjects.woextensions.WOStatsPage.appendToResponse(WOStatsPage.java: 94)
at com .webobjects .appserver.WOComponent._appendPageToResponse(WOComponent.java:1524)
at com .webobjects .appserver.WOComponent._generateResponseInContext(WOComponent.java:1493)
at com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java: 1488)
at com .webobjects .appserver ._private .WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:278)
at com .webobjects .appserver ._private .WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158)
at er .extensions .ERXDirectActionRequestHandler .handleRequest(ERXDirectActionRequestHandler.java:82)
at com .webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java: 1678)
at er.extensions.ERXApplication.dispatchRequest(ERXApplication.java: 1439)
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)
I have overwritten the following classes to account for NSDictionary or Hashmap as a temporary fix:
com.webobjects.woextensions.WOStatsPage
com.webobjects.woextensions.WODictionaryRepetition
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Wed Apr 16 2008 - 11:51:39 EDT