https://issues.apache.org/bugzilla/show_bug.cgi?id=51337

             Bug #: 51337
           Summary: java.lang.NullPointerException
                    org.eclipse.jdt.internal.compiler.lookup.LookupEnviron
                    ment.createPackage(LookupEnvironment.java:639)
           Product: Tomcat 7
           Version: 7.0.2
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mgai...@hotmail.com
    Classification: Unclassified


http://localhost:8080/examples/jsp/jsp2/el/basic-arithmetic.jsp

causes:

org.apache.jasper.JasperException: java.lang.NullPointerException   
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:528)
  
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:359)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

root cause
java.lang.NullPointerException   
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.createPackage(LookupEnvironment.java:639)
   
org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:86)
  
org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:147)
  
org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:590)
   org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:357)
    org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:371)
    org.apache.jasper.compiler.JDTCompiler.<init>(JDTCompiler.java:193)   
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:326)
  
org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:244)
  
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:673)
  
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

TC 7.02
java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to