You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Marc F. (JIRA)" <je...@portals.apache.org> on 2006/11/05 12:10:16 UTC
[jira] Created: (JS2-607) An error occur when trying storing a null
value in preferences
An error occur when trying storing a null value in preferences
--------------------------------------------------------------
Key: JS2-607
URL: http://issues.apache.org/jira/browse/JS2-607
Project: Jetspeed 2
Issue Type: Bug
Components: Portlet Entities and Preferences
Affects Versions: 2.0-FINAL
Environment: Windows XP.
Reporter: Marc F.
When I try storing a null value, like below:
public void processAction(ActionRequest aRequest, ActionResponse aResponse)
throws PortletException, IOException {
//...
PortletPreferences prefs = aRequest.getPreferences();
prefs.setValue("cellPhone", null);
//...
}
An exception occur:
java.lang.NullPointerException
at java.util.prefs.AbstractPreferences.put(AbstractPreferences.java
:224)
at org.apache.jetspeed.om.preference.impl.PrefsPreference.setValueAt
(PrefsPreference.java:138)
at org.apache.jetspeed.om.preference.impl.PrefsPreference.setValues(
PrefsPreference.java:235)
etc...
It occurs only when I try storing a null value. It is not in conformity to the Portlet API documentation:
"The key cannot be null, but null values for the value parameter are
allowed."
Certainly Jetspeed 2 is not obeying the rules very
well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Updated: (JS2-607) An error occur when trying storing a null
value in preferences
Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
[ http://issues.apache.org/jira/browse/JS2-607?page=all ]
Ate Douma updated JS2-607:
--------------------------
Fix Version/s: 2.1
2.1-dev
Affects Version/s: 2.1-dev
> An error occur when trying storing a null value in preferences
> --------------------------------------------------------------
>
> Key: JS2-607
> URL: http://issues.apache.org/jira/browse/JS2-607
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Portlet Entities and Preferences
> Affects Versions: 2.0-FINAL, 2.1-dev
> Environment: Windows XP.
> Reporter: Marc F.
> Assigned To: Ate Douma
> Fix For: 2.1, 2.1-dev
>
>
> When I try storing a null value, like below:
> public void processAction(ActionRequest aRequest, ActionResponse aResponse)
> throws PortletException, IOException {
> //...
> PortletPreferences prefs = aRequest.getPreferences();
> prefs.setValue("cellPhone", null);
> //...
> }
> An exception occur:
> java.lang.NullPointerException
> at java.util.prefs.AbstractPreferences.put(AbstractPreferences.java
> :224)
> at org.apache.jetspeed.om.preference.impl.PrefsPreference.setValueAt
> (PrefsPreference.java:138)
> at org.apache.jetspeed.om.preference.impl.PrefsPreference.setValues(
> PrefsPreference.java:235)
> etc...
> It occurs only when I try storing a null value. It is not in conformity to the Portlet API documentation:
> "The key cannot be null, but null values for the value parameter are
> allowed."
> Certainly Jetspeed 2 is not obeying the rules very
> well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Resolved: (JS2-607) An error occur when trying storing a
null value in preferences
Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
[ https://issues.apache.org/jira/browse/JS2-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ate Douma resolved JS2-607.
---------------------------
Resolution: Fixed
Fixed
> An error occur when trying storing a null value in preferences
> --------------------------------------------------------------
>
> Key: JS2-607
> URL: https://issues.apache.org/jira/browse/JS2-607
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Portlet Entities and Preferences
> Affects Versions: 2.1-dev, 2.0-FINAL
> Environment: Windows XP.
> Reporter: Marc F.
> Assigned To: Ate Douma
> Fix For: 2.1, 2.1-dev
>
>
> When I try storing a null value, like below:
> public void processAction(ActionRequest aRequest, ActionResponse aResponse)
> throws PortletException, IOException {
> //...
> PortletPreferences prefs = aRequest.getPreferences();
> prefs.setValue("cellPhone", null);
> //...
> }
> An exception occur:
> java.lang.NullPointerException
> at java.util.prefs.AbstractPreferences.put(AbstractPreferences.java
> :224)
> at org.apache.jetspeed.om.preference.impl.PrefsPreference.setValueAt
> (PrefsPreference.java:138)
> at org.apache.jetspeed.om.preference.impl.PrefsPreference.setValues(
> PrefsPreference.java:235)
> etc...
> It occurs only when I try storing a null value. It is not in conformity to the Portlet API documentation:
> "The key cannot be null, but null values for the value parameter are
> allowed."
> Certainly Jetspeed 2 is not obeying the rules very
> well.
--
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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
[jira] Assigned: (JS2-607) An error occur when trying storing a
null value in preferences
Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
[ http://issues.apache.org/jira/browse/JS2-607?page=all ]
Ate Douma reassigned JS2-607:
-----------------------------
Assignee: Ate Douma
> An error occur when trying storing a null value in preferences
> --------------------------------------------------------------
>
> Key: JS2-607
> URL: http://issues.apache.org/jira/browse/JS2-607
> Project: Jetspeed 2
> Issue Type: Bug
> Components: Portlet Entities and Preferences
> Affects Versions: 2.0-FINAL, 2.1-dev
> Environment: Windows XP.
> Reporter: Marc F.
> Assigned To: Ate Douma
> Fix For: 2.1, 2.1-dev
>
>
> When I try storing a null value, like below:
> public void processAction(ActionRequest aRequest, ActionResponse aResponse)
> throws PortletException, IOException {
> //...
> PortletPreferences prefs = aRequest.getPreferences();
> prefs.setValue("cellPhone", null);
> //...
> }
> An exception occur:
> java.lang.NullPointerException
> at java.util.prefs.AbstractPreferences.put(AbstractPreferences.java
> :224)
> at org.apache.jetspeed.om.preference.impl.PrefsPreference.setValueAt
> (PrefsPreference.java:138)
> at org.apache.jetspeed.om.preference.impl.PrefsPreference.setValues(
> PrefsPreference.java:235)
> etc...
> It occurs only when I try storing a null value. It is not in conformity to the Portlet API documentation:
> "The key cannot be null, but null values for the value parameter are
> allowed."
> Certainly Jetspeed 2 is not obeying the rules very
> well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org