Hi Geoffrey & Other Gurus

To throw more light on the above error message, please find below the
getCurrentUser() method snippet that i have taken from the source of
SecurityServiceServlet.java. Please tell me in what cases the
securityService comes as null for causing this exception.

public UserSecurityContext getCurrentUser() {
        if (securityService == null) {
            // This is the first method called by the client.
            // If CDI hasn't kicked in (theoretically impossible...), throw
a readable exception
            throw new IllegalStateException("CDI hasn't been properly
started.\n" +
                    "  Make sure your IDE classpath is in sync with the real
maven classpath.\n" +
                    "  The classpath should include weld-servlet.");
        }
    return securityService.getCurrentUser();
}

Thanks a lot

--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Guvnor-integration-with-Webshere-Exception-during-startup-Please-help-tp4018745p4018752.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to