marco wrote:
> 
> hi,
> 
> we have the same error message.
> the problem seems to be that we have  bundled our standard tag files in an
> jar library file
> and call these tagfile tags from inside another tagfile tag that is
> located in WEB-INF/tags.
> only the first tagfile tag of the jsp will be compiled from jasper.
> if we start the jasper once again the next tagfile tag will be compiled
> and so on.
> 
> marco
> 

Josh Joy-2 wrote:
> 
> Am receiving the following when trying to precompile my jsp. Server starts
> up and pages run fine without precompiling.
> 
> Using apache-tomcat-6.0.18
> 
> 
>     <property name="webapp.path" value="./WebContent" />
> 
>     <import file="${tomcat.home}/bin/catalina-tasks.xml"/>
> 
> 
>     <target name="jspc">
>         <delete quiet="true">
>             <fileset dir="${webapp.path}/WEB-INF/classes/org/apache/jsp"/>
>         </delete>
> 
> 
>         <jasper validateXml="false"
>                  uriroot="${webapp.path}"
>                  webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml"
>                  addWebXmlMappings="true"
>                  outputDir="${webapp.path}/WEB-INF/classes"
>                  compilerSourceVM="1.6" compilerTargetVM="1.6"
>                  />
> 
>     </target>
> 
> 
> 
> 
> 
>    [jasper] Nov 4, 2008 8:46:43 PM org.apache.jasper.JspC processFile
>    [jasper] SEVERE: ERROR-the file '/WEB-INF/views/upload/page.jsp'
> generated the following general exception:
>    [jasper] java.lang.NullPointerException
>    [jasper]     at sun.misc.URLClassPath$3.run(URLClassPath.java:323)
>    [jasper]     at java.security.AccessController.doPrivileged(Native
> Method)
>    [jasper]     at sun.misc.URLClassPath.getLoader(URLClassPath.java:320)
>    [jasper]     at sun.misc.URLClassPath.getLoader(URLClassPath.java:297)
>    [jasper]     at
> sun.misc.URLClassPath.getResource(URLClassPath.java:167)
>    [jasper]     at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
>    [jasper]     at java.security.AccessController.doPrivileged(Native
> Method)
>    [jasper]     at
> java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>    [jasper]     at
> org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134)
>    [jasper]     at
> org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66)
>    [jasper]     at
> ...
> 

-- 
View this message in context: 
http://www.nabble.com/JspC-processFile-java.lang.NullPointerException-tp20335450p20815489.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to