Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

NullPointerException while using mxml taglib in jsp

Avatar

Avatar
Level 2
Chandra_Reddy
Level 2

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
View profile

Avatar
Level 2
Chandra_Reddy
Level 2

Likes

0 likes

Total Posts

7 posts

Correct Reply

0 solutions
View profile
Chandra_Reddy
Level 2

31-07-2008

Hi,



I am getting following error while useing the mxml taglib in
jsp for flex 2.0.1,



java.lang.NullPointerException

flex.webtier.server.j2ee.jsp.MxmlTagImpl.doStartTag(MxmlTagImpl.java:112)

flex.bootstrap.BootstrapTag.doStartTag(BootstrapTag.java:77)

org.apache.jsp.test_jsp._jspx_meth_mm_005fmxml_005f0(test_jsp.java:79)

org.apache.jsp.test_jsp._jspService(test_jsp.java:54)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)

javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)

javax.servlet.http.HttpServlet.service(HttpServlet.java:803)



My jsp as below,



<%@ taglib uri="FlexTagLib" prefix="mm" %>

<html><body>

<mm:mxml source="reports/sampleapp.mxml" />

</body></html>



If any one knows how to resolve the above error, please help
me.





Regards,

Chandra Reddy