[java-identity-provider COMMIT] in /trunk/idp-conf/src/main/resources/system/flows: admin/admin-abstract-flow.xml aut...

noreply at shibboleth.net noreply at shibboleth.net
Thu Mar 2 22:18:28 EST 2017


Author: scantor
Date: Thu Mar  2 22:18:28 2017
New Revision: 8639

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8639&view=rev
Log:
Fix runtime exception logging when getCause is null

Modified:
    trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/authn/authn-abstract-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/c14n/subject-c14n-abstract-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/client-storage/client-storage-read-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/client-storage/client-storage-write-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/intercept/intercept-abstract-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/logout/logout-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/logout/logout-propagation-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/logout/propagation/saml2-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/saml/saml-abstract-flow.xml

Modified: trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-flow.xml?rev=8639&r1=8638&r2=8639&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-flow.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/flows/admin/admin-abstract-flow.xml	Thu Mar  2 22:18:28 2017
@@ -105,7 +105,7 @@
 
     <action-state id="LogRuntimeException">
         <on-entry>
-            <evaluate expression="T(org.slf4j.LoggerFactory).getLogger('net.shibboleth.idp.profile').error('Uncaught runtime exception', flowExecutionException.getCause())" />
+            <evaluate expression="T(org.slf4j.LoggerFactory).getLogger('net.shibboleth.idp.profile').error('Uncaught runtime exception', flowExecutionException.getCause() ?: flowExecutionException)" />
         </on-entry>
         <evaluate expression="'RuntimeException'" />
         <transition to="HandleError" />

Modified: trunk/idp-conf/src/main/resources/system/flows/authn/authn-abstract-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/authn/authn-abstract-flow.xml?rev=8639&r1=8638&r2=8639&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/authn/authn-abstract-flow.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/flows/authn/authn-abstract-flow.xml	Thu Mar  2 22:18:28 2017
@@ -32,7 +32,7 @@
     <end-state id="SubjectCanonicalizationError" />
 
     <action-state id="LogRuntimeException">
-        <evaluate expression="T(org.slf4j.LoggerFactory).getLogger('net.shibboleth.idp.authn').error('Uncaught runtime exception', flowExecutionException.getCause())" />
+        <evaluate expression="T(org.slf4j.LoggerFactory).getLogger('net.shibboleth.idp.authn').error('Uncaught runtime exception', flowExecutionException.getCause() ?: flowExecutionException)" />
         <transition to="RuntimeException" />
     </action-state>
 

Modified: trunk/idp-conf/src/main/resources/system/flows/c14n/subject-c14n-abstract-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/c14n/subject-c14n-abstract-flow.xml?rev=8639&r1=8638&r2=8639&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/c14n/subject-c14n-abstract-flow.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/flows/c14n/subject-c14n-abstract-flow.xml	Thu Mar  2 22:18:28 2017
@@ -22,7 +22,7 @@
     <end-state id="SubjectCanonicalizationError" />
 
     <action-state id="LogRuntimeException">
-        <evaluate expression="T(org.slf4j.LoggerFactory).getLogger('net.shibboleth.idp.authn').error('Uncaught runtime exception', flowExecutionException.getCause())" />
+        <evaluate expression="T(org.slf4j.LoggerFactory).getLogger('net.shibboleth.idp.authn').error('Uncaught runtime exception', flowExecutionException.getCause() ?: flowExecutionException)" />
         <transition to="RuntimeException" />
     </action-state>
 

Modified: trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-flow.xml?rev=8639&r1=8638&r2=8639&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-flow.xml	(original)
+++ trunk/idp-conf/src/main/resources/system/flows/cas/cas-abstract-flow.xml	Thu Mar  2 22:18:28 2017
@@ -9,7 +9,7 @@
 
     <action-state id="LogRuntimeException">
         <on-entry>

[... 111 lines stripped ...]


More information about the commits mailing list