beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Ramirez (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Assigned: (BEEHIVE-739) A url template ref without a key element causes an NPE in URLTemplatesFactory.
Date Mon, 13 Jun 2005 17:45:47 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-739?page=all ]

Alejandro Ramirez reassigned BEEHIVE-739:
-----------------------------------------

    Assign To: Julie Zhuo  (was: Alejandro Ramirez)

Please verify in trunk.

> A url template ref without a key element causes an NPE in URLTemplatesFactory.
> ------------------------------------------------------------------------------
>
>          Key: BEEHIVE-739
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-739
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Julie Zhuo
>     Priority: Minor
>      Fix For: TBD
>  Attachments: j739patch.txt
>
> Need to improve the error condition checking and handling in the
> URLTemplatesFactory class.
> If a template ref in the beehive-url-template-config file does not have a 
> key element, URLTemplatesFactory.getTemplatesFromConfig() throws an NPE.
> I think this can be done in a post v1.0 patch. 
> Here's a stack trace...
> java.lang.NullPointerException
>         at
> org.apache.beehive.netui.core.urltemplates.URLTemplatesFactory.getTempla
> tesFromConfig(URLTemplatesFactory.java:213)
>         at
> org.apache.beehive.netui.core.urltemplates.URLTemplatesFactory.getTempla
> tes(URLTemplatesFactory.java:139)
>         at
> org.apache.beehive.netui.core.urltemplates.URLTemplateDescriptor.load(UR
> LTemplateDescriptor.java:130)
>         at
> org.apache.beehive.netui.pageflow.PageFlowContextListener.performInitial
> izations(PageFlowContextListener.java:107)
>         at
> org.apache.beehive.netui.pageflow.PageFlowPageFilter.init(PageFlowPageFi
> lter.java:86)

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


Mime
View raw message