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 "Jian Liao (JIRA)" <je...@portals.apache.org> on 2006/03/14 03:21:55 UTC

[jira] Created: (JS2-511) org.apache.jetspeed.om.portlet.impl.PortletDefinitionImpl line 558 throws NPE

org.apache.jetspeed.om.portlet.impl.PortletDefinitionImpl line 558 throws NPE
-----------------------------------------------------------------------------

         Key: JS2-511
         URL: http://issues.apache.org/jira/browse/JS2-511
     Project: Jetspeed 2
        Type: Bug
    Versions: 2.1-dev    
 Environment: WinXP SP2, JDK 1.4.2_11, Geronimo SVN head, Tomcat 5.5.15
    Reporter: Jian Liao
    Priority: Blocker


Geronimo default log level is debug. When an porltet app try to register itself to j2, commons-beanutils will call PortletDefinitionImpl.hashCode() to write a log. The issue is caused by PortletDefinitionImpl.getId() will return a null in PortletDefinitionImpl.hashCode(), line 558.

Reproduce:
1. Change your log level to debug(jetspeed\WEB-INF\conf\Log4j.properties).
2. Have a full build and call j2:quickStart
3. Start your Tomcat Server if you do not has a Geronimo.

I've tested it with Tomcat 5.5.15 and Geronimo SVN head.

-- 
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] Closed: (JS2-511) org.apache.jetspeed.om.portlet.impl.PortletDefinitionImpl line 558 throws NPE

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-511?page=all ]
     
Ate Douma closed JS2-511:
-------------------------

    Fix Version: 2.1
                 2.1-dev
     Resolution: Fixed

Confirmed and fixed.

Now all portlet apps are properly loaded/registered even with rootLevel logging set to DEBUG. 

> org.apache.jetspeed.om.portlet.impl.PortletDefinitionImpl line 558 throws NPE
> -----------------------------------------------------------------------------
>
>          Key: JS2-511
>          URL: http://issues.apache.org/jira/browse/JS2-511
>      Project: Jetspeed 2
>         Type: Bug

>     Versions: 2.1-dev
>  Environment: WinXP SP2, JDK 1.4.2_11, Geronimo SVN head, Tomcat 5.5.15
>     Reporter: Jian Liao
>     Assignee: Ate Douma
>     Priority: Blocker
>      Fix For: 2.1, 2.1-dev

>
> Geronimo default log level is debug. When an porltet app try to register itself to j2, commons-beanutils will call PortletDefinitionImpl.hashCode() to write a log. The issue is caused by PortletDefinitionImpl.getId() will return a null in PortletDefinitionImpl.hashCode(), line 558.
> Reproduce:
> 1. Change your log level to debug(jetspeed\WEB-INF\conf\Log4j.properties).
> 2. Have a full build and call j2:quickStart
> 3. Start your Tomcat Server if you do not has a Geronimo.
> I've tested it with Tomcat 5.5.15 and Geronimo SVN head.

-- 
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] Assigned: (JS2-511) org.apache.jetspeed.om.portlet.impl.PortletDefinitionImpl line 558 throws NPE

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-511?page=all ]

Ate Douma reassigned JS2-511:
-----------------------------

    Assign To: Ate Douma

> org.apache.jetspeed.om.portlet.impl.PortletDefinitionImpl line 558 throws NPE
> -----------------------------------------------------------------------------
>
>          Key: JS2-511
>          URL: http://issues.apache.org/jira/browse/JS2-511
>      Project: Jetspeed 2
>         Type: Bug

>     Versions: 2.1-dev
>  Environment: WinXP SP2, JDK 1.4.2_11, Geronimo SVN head, Tomcat 5.5.15
>     Reporter: Jian Liao
>     Assignee: Ate Douma
>     Priority: Blocker

>
> Geronimo default log level is debug. When an porltet app try to register itself to j2, commons-beanutils will call PortletDefinitionImpl.hashCode() to write a log. The issue is caused by PortletDefinitionImpl.getId() will return a null in PortletDefinitionImpl.hashCode(), line 558.
> Reproduce:
> 1. Change your log level to debug(jetspeed\WEB-INF\conf\Log4j.properties).
> 2. Have a full build and call j2:quickStart
> 3. Start your Tomcat Server if you do not has a Geronimo.
> I've tested it with Tomcat 5.5.15 and Geronimo SVN head.

-- 
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