You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Patrick Antivackis (JIRA)" <ji...@apache.org> on 2009/10/27 20:42:59 UTC
[jira] Created: (OFBIZ-3096) NPE when calling a page like
http://localhost:8080/cmssite/cms
NPE when calling a page like http://localhost:8080/cmssite/cms
--------------------------------------------------------------
Key: OFBIZ-3096
URL: https://issues.apache.org/jira/browse/OFBIZ-3096
Project: OFBiz
Issue Type: Bug
Components: framework
Affects Versions: SVN trunk
Reporter: Patrick Antivackis
Fix For: SVN trunk
Attachments: Patch-OFBIZ-3096.txt
A Null Pointer Exception is generated by RequestHandler.trackVIsit and trackStat if a page is called without view and without trailing slash after the controller.
This may be not a problem for non cms site, but it is for cms site. Calling http://localhost:8080/cmssite/cms will generate a NPE; WIth the included pacth, calling the same page will display the default page.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OFBIZ-3096) NPE when calling a page like
http://localhost:8080/cmssite/cms
Posted by "Patrick Antivackis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Antivackis updated OFBIZ-3096:
--------------------------------------
Attachment: Patch-OFBIZ-3096.txt
> NPE when calling a page like http://localhost:8080/cmssite/cms
> --------------------------------------------------------------
>
> Key: OFBIZ-3096
> URL: https://issues.apache.org/jira/browse/OFBIZ-3096
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Patrick Antivackis
> Fix For: SVN trunk
>
> Attachments: Patch-OFBIZ-3096.txt
>
>
> A Null Pointer Exception is generated by RequestHandler.trackVIsit and trackStat if a page is called without view and without trailing slash after the controller.
> This may be not a problem for non cms site, but it is for cms site. Calling http://localhost:8080/cmssite/cms will generate a NPE; WIth the included pacth, calling the same page will display the default page.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (OFBIZ-3096) NPE when calling a page like
http://localhost:8080/cmssite/cms
Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-3096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-3096.
----------------------------------
Resolution: Fixed
Assignee: Jacques Le Roux
Thanks Patrick,
Your slightly modified patch is in trunk at r830366, R9.04 at r830374
I have just modified to respect our syntax convetions ie :
{code}
+ if (uriString == null) {
+ uriString="";
+ }
{code}
instead of
{code}
+ if (uriString == null) uriString="";
{code}
> NPE when calling a page like http://localhost:8080/cmssite/cms
> --------------------------------------------------------------
>
> Key: OFBIZ-3096
> URL: https://issues.apache.org/jira/browse/OFBIZ-3096
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Patrick Antivackis
> Assignee: Jacques Le Roux
> Fix For: SVN trunk
>
> Attachments: Patch-OFBIZ-3096.txt
>
>
> A Null Pointer Exception is generated by RequestHandler.trackVIsit and trackStat if a page is called without view and without trailing slash after the controller.
> This may be not a problem for non cms site, but it is for cms site. Calling http://localhost:8080/cmssite/cms will generate a NPE; WIth the included pacth, calling the same page will display the default page.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.