And, more "Hmm...", it looks like whatever is assumed to have a value other than null at line 528 of InsertTag.java, so that you can look at the source code to see what that might be. My guess is that there is some "name" object that is being passed into that "processName" method that is null.

At 09:46 PM 2/4/2004, you wrote:
Hmm...
Looks like you got yourself a null pointer mate!
;-)

-----Original Message-----
From: Anand Stephen [mailto:[EMAIL PROTECTED]
Sent: Thursday, 5 February 2004 13:48
To: Struts-User
Subject: Basic Tiles question!



Any idea what would cause this exception?








500 Servlet Exception


java.lang.NullPointerException
      at
org.apache.struts.taglib.tiles.InsertTag.processName(InsertTag.java:528)
      at
org.apache.struts.taglib.tiles.InsertTag.createTagHandler(InsertTag.java
:487)
      at
org.apache.struts.taglib.tiles.InsertTag.doStartTag(InsertTag.java:445)


thank you, -- a


--------- tiles-def.xml --------



<?xml version="1.0" encoding="UTF-8"?> <!--

-->
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd";>
<tiles-definitions>
    <definition name="mainlayout" page="/site/search/tiles/text_1.jsp">
        <put name="content" value="/site/search/tiles/text.jsp"/>
    </definition>
</tiles-definitions>

--- end tiles-def.xml ------
--- Struts-config.xml -----
    <plug-in className="org.apache.struts.tiles.TilesPlugin" >
        <set-property property="definitions-config"
                    value="/WEB-INF/tiles-def.xml l" />
        <set-property property="moduleAware" value="true" />
        <set-property property="definitions-debug" value="1"/>
        <set-property property="definitions-parser-validate"
value="true" />
  </plug-in>

--- end struts config ------
----     the jsp ----


<%@ taglib uri="/WEB-INF/tlds/tiles.tld" prefix="tiles" %>


------ end jsp -------------------


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to