Firefox 57 Quantum on non-Linux: request not available in intercepts
Martin Haase
Martin.Haase at DAASI.de
Tue Dec 5 08:29:31 EST 2017
Hi list,
we want to report a strange behaviour with the new Firefox on Windows or
Mac: When the IdP should show an intercept view that contains the usual
$request.getContextPath()
it will fail, showing the "stale request" error page. From the logs it
looks like this $request variable is either not accessible or does not
have the getContextPath() method. We could not reproduce it on all of
our servers, this particular was a
CentOS Linux release 7.4.1708 (Core)
openjdk version "1.8.0_144"
Shibboleth IdP Version 3.3.0
It would be nice if someone who has seen the same would share their
experience. The workaround in this case was very easy, since this
particular method call always returns "/idp", we just hard-coded it.
Regards,
Martin
PS. here's the log:
2017-12-01 14:08:28,802 - ERROR [net.shibboleth.idp.authn:-2] - Uncaught
runtime exception
java.lang.IllegalStateException: Exception occurred rendering view
org.springframework.web.servlet.view.velocity.VelocityView: name
'my-intercept'; URL [my-intercept.vm]
at
org.springframework.webflow.mvc.view.AbstractMvcView.render(AbstractMvcView.java:200)
Caused by: org.springframework.web.util.NestedServletException: Method
invocation failed during rendering of Velocity view with name
'my-intercept': Invocation of method 'getContextPath' in class
org.apache.catalina.connector.RequestFacade threw exception
java.lang.NullPointerException at my-intercept.vm[line 35, column 63];
reference [request], method 'getContextPath'; nested exception is
java.lang.NullPointerException
at
org.springframework.web.servlet.view.velocity.VelocityView.mergeTemplate(VelocityView.java:526)
Caused by: java.lang.NullPointerException: null
at
org.apache.catalina.connector.Request.getServletContext(Request.java:1663)
2017-12-01 14:08:28,803 - WARN
[org.opensaml.profile.action.impl.LogEvent:105] - A non-proceed event
occurred while processing the request: RuntimeException
2017-12-01 14:08:28,804 - DEBUG
[org.opensaml.saml.common.profile.logic.DefaultLocalErrorPredicate:181]
- Error event RuntimeException will be handled locally
--
Dr. Martin Haase, Solutions Engineer
DAASI International GmbH
Europaplatz 3
D-72072 Tübingen
Germany
phone: +49 7071 407109-0
fax: +49 7071 407109-9
email: martin.haase at daasi.de
web: www.daasi.de
Sitz der Gesellschaft: Tübingen
Registergericht: Amtsgericht Stuttgart, HRB 382175
Geschäftsleitung: Peter Gietz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2267 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://shibboleth.net/pipermail/users/attachments/20171205/43e0caad/attachment.p7s>
More information about the users
mailing list