Re: my embedded ERXD2WList crashes.
Re: my embedded ERXD2WList crashes.
- Subject: Re: my embedded ERXD2WList crashes.
- From: Ramsey Gurley <email@hidden>
- Date: Mon, 23 Jan 2012 09:21:14 -0700
I recently updated ERXResourceManager to allow for the use of SVG files in WO. Part of that change involved making a new file called AdditionalMimeType.plist to hold mime types not listed in JavaWebObjects/Resources/MIME.plist. If you've updated ERXExtensions, it should be located in your ERXExtensions/Resources directory. It appears that ERXFileUtilities.readPropertyListFromFileInFramework is not finding that plist file in your case. Check to see if you see it in your relevant resources directory.
Ramsey
On Jan 20, 2012, at 7:01 PM, James Cicenia wrote:
> I have no idea what I did. I have rebuilt, re-downloaded and re-anted.
>
> Something has gone foobar when I get to my embedded list page with this very little info exception:
>
> Anyone have any idea how to track this down?
>
> <WorkerThread0> java.lang.NullPointerException
> at er.extensions.appserver.ERXResourceManager.contentTypeForResourceNamed(ERXResourceManager.java:377)
> at er.extensions.appserver.ERXResourceManager.cacheDataIfNotInCache(ERXResourceManager.java:223)
> at er.extensions.appserver.ERXResourceManager.urlForResourceNamed(ERXResourceManager.java:173)
> at com.webobjects.appserver.WOContext._urlForResourceNamed(WOContext.java:1513)
> at com.webobjects.appserver._private.WOImage._appendFilenameToResponseInContext(WOImage.java:37)
> at com.webobjects.appserver._private.WOImage._appendFilenameToResponse(WOImage.java:129)
> at com.webobjects.appserver._private.WOHTMLURLValuedElement.appendAttributesToResponse(WOHTMLURLValuedElement.java:196)
> at er.extensions.foundation.ERXPatcher$DynamicElementsPatches$Image.appendAttributesToResponse(ERXPatcher.java:298)
> at er.extensions.foundation.ERXPatcher$DynamicElementsPatches$Image._appendOpenTagToResponse(ERXPatcher.java:322)
> at com.webobjects.appserver._private.WOHTMLDynamicElement.appendToResponse(WOHTMLDynamicElement.java:443)
> at er.extensions.foundation.ERXPatcher$DynamicElementsPatches$Image.appendToResponse(ERXPatcher.java:304)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at com.webobjects.appserver._private.WOGenericContainer.appendToResponse(WOGenericContainer.java:44)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at com.webobjects.appserver._private.WOConditional.appendToResponse(WOConditional.java:94)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at com.webobjects.appserver._private.WOConditional.appendToResponse(WOConditional.java:94)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
> at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
> at er.ajax.AjaxComponent.appendToResponse(AjaxComponent.java:128)
> at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at com.webobjects.appserver._private.WOConditional.appendToResponse(WOConditional.java:94)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at er.ajax.AjaxUpdateContainer.appendToResponse(AjaxUpdateContainer.java:186)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
> at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
> at er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:117)
> at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
> at com.webobjects.appserver._private.WOComponentContent.appendToResponse(WOComponentContent.java:51)
> at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
> at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135)
> at er.extensions.components._private.ERXSwitchComponent.appendToResponse(ERXSwitchComponent.java:132)
> at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
> at er.directtoweb.pages.ERD2WPage.appendToResponse(ERD2WPage.java:658)
> at er.directtoweb.pages.ERD2WListPage.appendToResponse(ERD2WListPage.java:491)
> at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135)
> at er.extensions.components._private.ERXSwitchComponent.appendToResponse(ERXSwitchComponent.java:132)
> at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
> at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
> at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
> at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at com.webobjects.appserver._private.WOConditional.appendToResponse(WOConditional.java:94)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
> at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
> at er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:117)
> at com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:135)
> at er.extensions.components._private.ERXSwitchComponent.appendToResponse(ERXSwitchComponent.java:132)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at com.webobjects.appserver._private.WOConditional.appendToResponse(WOConditional.java:94)
> at com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
> at com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
> at com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
> at er.extensions.components.ERXComponent.appendToResponse(ERXComponent.java:117)
> at com.webobjects.appserver.WOSession.appendToResponse(WOSession.java:1385)
> at er.extensions.appserver.ERXSession.appendToResponse(ERXSession.java:552)
> at com.webobjects.appserver.WOApplication.appendToResponse(WOApplication.java:1794)
> at er.extensions.appserver.ERXApplication.appendToResponse(ERXApplication.java:1924)
> at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandler.java:242)
> at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:298)
> at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332)
> 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:1687)
> at er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2029)
> at er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1994)
> 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:680)
>
>
> James
>
> _______________________________________________
> 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