jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Pablo Santos Rodríguez (JIRA) <j...@apache.org>
Subject [jira] [Commented] (JSPWIKI-742) ERROR [com.ecyrd.jspwiki.tags.WikiTagBase] Tag failed: java.lang.NullPointerException
Date Tue, 11 Dec 2012 18:51:21 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13529214#comment-13529214
] 

Juan Pablo Santos Rodríguez commented on JSPWIKI-742:
-----------------------------------------------------

why not 

{code:java}CopyOnWriteArrayList<Item> m_elements = new CopyOnWriteArrayList<Item>();{code}


and then removing the casts on lines 58 & 94?


br,
juan pablo
                
> ERROR [com.ecyrd.jspwiki.tags.WikiTagBase] Tag failed: java.lang.NullPointerException
> -------------------------------------------------------------------------------------
>
>                 Key: JSPWIKI-742
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-742
>             Project: JSPWiki
>          Issue Type: Bug
>    Affects Versions: 2.8.3
>         Environment: RHEL_6.1
>            Reporter: RAJESHWARAN
>         Attachments: JSPWiki-742.patch, TestArrayListNPE.java
>
>
> Hello,
> I had used jspwiki2.8.3, i got the following error and the pages were displayed with
an empty content.
> After restarting the apache in the site ,the jspwiki pages got displayed with contents
and no errors were thrown.I'm sure this error was thrown from jspwiki code. could anyone know
about this error?
> ERROR [com.ecyrd.jspwiki.tags.WikiTagBase] Tag failed: java.lang.NullPointerException
>         at com.ecyrd.jspwiki.util.PriorityList.get(PriorityList.java:96) [:]
>         at java.util.AbstractList$Itr.next(AbstractList.java:345) [:1.6.0_26]
>         at com.ecyrd.jspwiki.filters.FilterManager.doPreTranslateFiltering(FilterManager.java:324)
[:]
>         at com.ecyrd.jspwiki.WikiEngine.textToHTML(WikiEngine.java:1511) [:]
>         at com.ecyrd.jspwiki.WikiEngine.getHTML(WikiEngine.java:1455) [:]
>         at com.ecyrd.jspwiki.tags.InsertPageTag.doWikiStartTag(InsertPageTag.java:128)
[:]
>         at com.ecyrd.jspwiki.tags.WikiTagBase.doStartTag(WikiTagBase.java:89) [:]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message