makumba / makumba

Makumba helps you rapidly develop data driven web applications. Provides a custom JSP taglib as a main interface, but leaves API open for advanced access. It is implemented in Java.
https://www.makumba.org
GNU Lesser General Public License v2.1
5 stars 2 forks source link

colission between form name and label leads to NPE #805

Open ghost opened 14 years ago

ghost commented 14 years ago

Reported by @cristianbogdan on 20 Oct 2010 13:16 UTC i had this

... this lead to a NPE with the stacktrace below. i didn't actually need the name for the form, it was copied by accident, but given the NPE, it was pretty hard to figure out. at first i simply used value="$x" instead, and went further. then i thought i'd report this. ^ Please report to the developers. java.lang.NullPointerException: null Stacktrace: at org.makumba.forms.tags.InputTag.doEndAnalyze(InputTag.java:218) at org.makumba.commons.ParseStatus.endPage(ParseStatus.java:258) at org.makumba.commons.MakumbaJspAnalyzer.endPage(MakumbaJspAnalyzer.java:384) at org.makumba.analyser.engine.JspParseData.parse(JspParseData.java:258) at org.makumba.analyser.engine.JspParseData.getSyntaxPointArray(JspParseData.java:189) at org.makumba.analyser.engine.JspParseData.getAnalysisResult(JspParseData.java:182) at org.makumba.analyser.AnalysableElement.getPageCache(AnalysableElement.java:180) at org.makumba.analyser.AnalysableElement.getPageCache(AnalysableElement.java:210) at org.makumba.analyser.AnalysableTag.doStartTag(AnalysableTag.java:216) at org.makumba.commons.tags.GenericMakumbaTag.doStartTag(GenericMakumbaTag.java:47) Migrated-From: http://trac.makumba.org/ticket/1260
ghost commented 14 years ago

Modified by @cristianbogdan on 20 Oct 2010 13:17 UTC