java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • If there are any instances of XWikiApplicationClass on which the user that happens to initiate the wiki does not have view access to, the application manager will fail to update application translations. This is because the list of application is searched for with rights checking enabled. Moreover, the right service will try to display the login page because XWikiHibernateStore inappropriately use 'checkAccess' rather than 'haveAccessRights'. {code} ERROR c.x.x.p.XWikiPluginManager - Cannot initialize plugin [com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin]. This plugin will not be available. java.lang.IllegalStateException: null at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:436) ~[jbossweb-7.0.13.Final.jar!/:na] at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:88) ~[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:62) ~[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.showLogin(XWikiAuthServiceImpl.java:350) ~[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at org.xwiki.security.authorization.internal.XWikiCachingRightService.showLogin(XWikiCachingRightService.java:209) ~[xwiki-platform-security-bridge-4.1.4-kreablo.jar:na] at org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:333) ~[xwiki-platform-security-bridge-4.1.4-kreablo.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2442) ~[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2827) ~[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2806) ~[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2799) ~[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2771) ~[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.searchDocuments(XWikiCacheStore.java:480) ~[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocumentsByFields(AbstractXClassManager.java:838) ~[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na] at com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocuments(AbstractXClassManager.java:802) ~[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na] at com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.getApplicationList(ApplicationManager.java:128) ~[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na] at com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.updateAllApplicationTranslation(ApplicationManager.java:309) ~[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na] at com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin.init(ApplicationManagerPlugin.java:81) ~[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na] {code}
    via by Andreas Jonsson,
  • CAS SSO stops working after 1hr
    via GitHub by gadepoonam
    ,
  • The BalusC Code: Communication in JSF
    via by Unknown author,
  • Using Send Redirect to JSP
    via Stack Overflow by Sirojan Gnanaretnam
    ,
    • java.lang.IllegalStateException: null at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:436)[jbossweb-7.0.13.Final.jar!/:na] at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:88)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:62)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.showLogin(XWikiAuthServiceImpl.java:350)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at org.xwiki.security.authorization.internal.XWikiCachingRightService.showLogin(XWikiCachingRightService.java:209)[xwiki-platform-security-bridge-4.1.4-kreablo.jar:na] at org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:333)[xwiki-platform-security-bridge-4.1.4-kreablo.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2442)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2827)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2806)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2799)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2771)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.store.XWikiCacheStore.searchDocuments(XWikiCacheStore.java:480)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na] at com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocumentsByFields(AbstractXClassManager.java:838)[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na] at com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocuments(AbstractXClassManager.java:802)[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na] at com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.getApplicationList(ApplicationManager.java:128)[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na] at com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.updateAllApplicationTranslation(ApplicationManager.java:309)[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na] at com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin.init(ApplicationManagerPlugin.java:81)[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na]

    Users with the same issue

    marcbouvierdav
    8 times, last one,
    QrCeric
    120 times, last one,
    chenjunjun
    25 times, last one,
    jpvee
    3 times, last one,
    Unknown visitor1 times, last one,
    5 more bugmates