java.lang.IllegalStateException: null

XWiki.org JIRA | Andreas Jonsson | 4 years ago
  1. 0

    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}

    XWiki.org JIRA | 4 years ago | Andreas Jonsson
    java.lang.IllegalStateException: null
  2. 0

    CAS SSO stops working after 1hr

    GitHub | 2 months ago | gadepoonam
    java.lang.IllegalStateException: null
  3. 0

    JavaRoots: IllegalStateException in Response.SendRedirect

    javaroots.com | 5 months ago
    java.lang.IllegalStateException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The BalusC Code: Communication in JSF

    omnifaces.org | 5 months ago
    java.lang.IllegalStateException

  1. marcbouvierdav 10 times, last 3 months ago
6 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    null

    at org.apache.catalina.connector.ResponseFacade.sendRedirect()
  2. Glassfish Core
    ResponseFacade.sendRedirect
    1. org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:436)[jbossweb-7.0.13.Final.jar!/:na]
    1 frame
  3. com.xpn.xwiki
    XWikiAuthServiceImpl.showLogin
    1. com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:88)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na]
    2. com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:62)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na]
    3. com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.showLogin(XWikiAuthServiceImpl.java:350)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na]
    3 frames
  4. org.xwiki.security
    XWikiCachingRightService.checkAccess
    1. org.xwiki.security.authorization.internal.XWikiCachingRightService.showLogin(XWikiCachingRightService.java:209)[xwiki-platform-security-bridge-4.1.4-kreablo.jar:na]
    2. org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:333)[xwiki-platform-security-bridge-4.1.4-kreablo.jar:na]
    2 frames
  5. com.xpn.xwiki
    ApplicationManagerPlugin.init
    1. com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2442)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na]
    2. com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2827)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na]
    3. com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2806)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na]
    4. com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2799)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na]
    5. com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2771)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na]
    6. com.xpn.xwiki.store.XWikiCacheStore.searchDocuments(XWikiCacheStore.java:480)[xwiki-platform-oldcore-4.1.4-kreablo.jar:na]
    7. 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]
    8. 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]
    9. com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.getApplicationList(ApplicationManager.java:128)[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na]
    10. com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.updateAllApplicationTranslation(ApplicationManager.java:309)[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na]
    11. com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin.init(ApplicationManagerPlugin.java:81)[xwiki-platform-application-manager-api-4.1.4-kreablo.jar:na]
    11 frames