[
https://issues.apache.org/jira/browse/OFBIZ-5769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14141785#comment-14141785 ]
Deepak Dixit commented on OFBIZ-5769:
-------------------------------------
Steps to regenerate the issue
- Goto any 'web.xml' file for any application.
- Comment out or delete the allowed paths in init-param .
- Then access the particular application like BI or Webtools.
Actual Result: A NPE occurs and the page is not displayed.
Expected Result: User should be able the access the application.
After applying the patch the NPE stops occuring and the application works as expected.
> web.xml: empty allowPaths init param causes NPE
> -----------------------------------------------
>
> Key: OFBIZ-5769
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5769> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Reporter: Wai
> Assignee: Ashish Vijaywargiya
> Attachments: OFBIZ-5769.patch
>
>
> In web.xml, when 'allowPaths' init param is empty, a null pointer exception results.
> Solution:
> When web.xml/allowPaths is empty, it should mean disable the allowPaths check altogether.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)