You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bridges-dev@portals.apache.org by "Benjamin Francisoud (JIRA)" <br...@portals.apache.org> on 2010/03/30 16:09:27 UTC
[jira] Created: (PB-96) Make exception message clearer: "class not
found"
Make exception message clearer: "class not found"
-------------------------------------------------
Key: PB-96
URL: https://issues.apache.org/jira/browse/PB-96
Project: Portals Bridges
Issue Type: Improvement
Components: struts
Affects Versions: 1.0.4
Reporter: Benjamin Francisoud
I misconfigured my portlet but I'm getting a not so nice PortletException "class not found" from org.apache.portals.bridges.struts.StrutsPortlet line 148
It doesn't help :(
Which class ?
Also this doesn't seems to be a "class not found" problem but more a "this is not the expected instance of the class" problem
If the class wasn't found the code line 139 Class.forName(contextProviderClassName); would throw a ClassNotFoundException
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org
[jira] Updated: (PB-96) Make exception message clearer: "class not
found"
Posted by "Benjamin Francisoud (JIRA)" <br...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/PB-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Francisoud updated PB-96:
----------------------------------
Attachment: 20100330_PB-96.patch
Some possible solution...
> Make exception message clearer: "class not found"
> -------------------------------------------------
>
> Key: PB-96
> URL: https://issues.apache.org/jira/browse/PB-96
> Project: Portals Bridges
> Issue Type: Improvement
> Components: struts
> Affects Versions: 1.0.4
> Reporter: Benjamin Francisoud
> Attachments: 20100330_PB-96.patch
>
>
> I misconfigured my portlet but I'm getting a not so nice PortletException "class not found" from org.apache.portals.bridges.struts.StrutsPortlet line 148
> It doesn't help :(
> Which class ?
> Also this doesn't seems to be a "class not found" problem but more a "this is not the expected instance of the class" problem
> If the class wasn't found the code line 139 Class.forName(contextProviderClassName); would throw a ClassNotFoundException
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: bridges-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: bridges-dev-help@portals.apache.org