incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Metske (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JSPWIKI-742) ERROR [com.ecyrd.jspwiki.tags.WikiTagBase] Tag failed: java.lang.NullPointerException
Date Tue, 11 Dec 2012 18:19:21 GMT

     [ https://issues.apache.org/jira/browse/JSPWIKI-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Harry Metske updated JSPWIKI-742:
---------------------------------

    Attachment: JSPWiki-742.patch

proposing the attached patch.
Which is Ichiro's suggestion to use CopyOnWriteArrayList

regards,
Harry 
                
> 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