testbed-idp requires to be run from a JDK?

Rod Widdowson rdw at steadingsoftware.com
Wed Aug 13 09:44:11 EDT 2014


I just tripped over this and wondered whether it has an impact for our
packaging.

I just wanted to kick the wheels of the JSP and taglib and so I deleted the
login.vm and started java-idp-testbed

This failed with

> 2014-08-13 14:27:35,709 - ERROR
[org.springframework.webflow.execution.FlowExecutionException:76] - 
> org.springframework.webflow.execution.FlowExecutionException: Exception
thrown in state 'DisplayUsernamePasswordPage' of flow 'authn/Password'
>	at
org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(FlowExecution
Impl.java:573)
>Caused by: java.lang.IllegalStateException: Exception occurred rendering
view org.springframework.web.servlet.view.JstlView: name 'login'; URL
[/WEB-INF/jsp/login.jsp]
>	at
org.springframework.webflow.mvc.view.AbstractMvcView.render(AbstractMvcView.
java:200)
>Caused by: org.apache.jasper.JasperException: PWC6345: There is an error in
invoking javac.  A full JDK (not just JRE) is required
>	at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:92)

This presumably from deep within Jetty when it tries to render the page.
Switching to using a JDK is no problems and fixes the issue, but it's not
feasible for customers.

I did a quite test on the Alpha and the stack is similar

Caused by: java.lang.IllegalStateException: Exception occurred rendering
view org.springframework.web.servlet.view.JstlView: name 'login'; URL
[/WEB-INF/jsp/login.jsp] 
Caused by: org.apache.jasper.JasperException: Unable to compile class for
JSP
Caused by: java.lang.NullPointerException: null

Maybe this should just be a JIRA case?



More information about the dev mailing list