This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitleNPE onFormUtil
Date01-Jul-2005 18:47:22 EEST
Bug criticalityLightBug
Browser versionFireFox
Bug statusNewBug
PageProvider usedVersioned
Servlet ContainerTomcat 5.5.9
Operating SystemWindowsXP
Java version1.5.0

I tracked it down to a call to

public static Map requestToMap( HttpServletRequest req, String filterPrefix ) { HashMap params = new HashMap();

Enumeration en = req.getParameterNames(); while( en.hasMoreElements() )

I believe req is null, but this method don't check for it. When I disabled the RSS generation the exception went away.

I am using a hacked template, not sure it is related. So far I am using just the pre-defined JSPWiki pages.

Here is the log:

2005-07-01 11:26:18,081 Thread-35 INFO com.ecyrd.jspwiki.TranslatorReader - Root cause: java.lang.NullPointerException at com.ecyrd.jspwiki.util.FormUtil.requestToMap( at com.ecyrd.jspwiki.forms.FormOutput.execute( at com.ecyrd.jspwiki.plugin.PluginManager.execute( at com.ecyrd.jspwiki.plugin.PluginManager.execute( at com.ecyrd.jspwiki.TranslatorReader.handleHyperlinks( at com.ecyrd.jspwiki.TranslatorReader.handleOpenbracket( at com.ecyrd.jspwiki.TranslatorReader.fillBuffer( at at com.ecyrd.jspwiki.FileUtil.copyContents( at com.ecyrd.jspwiki.FileUtil.readContents( at com.ecyrd.jspwiki.WikiEngine.textToHTML( at com.ecyrd.jspwiki.WikiEngine.textToHTML( at com.ecyrd.jspwiki.WikiEngine.textToHTML( at com.ecyrd.jspwiki.WikiEngine.getHTML( at com.ecyrd.jspwiki.WikiEngine.getHTML( at com.ecyrd.jspwiki.WikiEngine.getHTML( at com.ecyrd.jspwiki.rss.RSSGenerator.getPageDescription( at com.ecyrd.jspwiki.rss.RSSGenerator.getEntryDescription( at com.ecyrd.jspwiki.rss.RSSGenerator.generateFullWikiRSS( at com.ecyrd.jspwiki.rss.RSSGenerator.generate( at com.ecyrd.jspwiki.WikiEngine$

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 01-Jul-2005 18:47 by NascifAbousalhNeto.