Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Peter Neubauer, 1 year ago
could not initialize a collection: [com.atlassian.crowd.integration.model.RemotePrincipal.groups#component[directoryID,name]{directoryID=32769, name=admin}]
via Atlassian JIRA by Peter Neubauer, 2 years ago
could not initialize a collection: [com.atlassian.crowd.integration.model.RemotePrincipal.groups#component[directoryID,name]{directoryID=32769, name=admin}]
via openxava by hjatmbn
, 1 year ago
could not initialize a collection: \[org.openxava.test.model.Customer.states\#4\]
via Hibernate JIRA by Philipp Pirozhkov, 1 year ago
could not initialize a collection: [Storage.productQuantity#779317485]
via Hibernate JIRA by Philipp Pirozhkov, 2 years ago
could not initialize a collection: [Storage.productQuantity#779317485]
via Stack Overflow by user2436719
, 2 years ago
could not initialize a collection: [database.A.listB#1]
java.sql.SQLException: Unexpected token: AND in statement [select groups0_."REMOTEPRINCIPALDIRECTORYID" as REMOTEPR1_1_, groups0_."REMOTEPRINCIPALNAME" as REMOTEPR2_1_, groups0_."REMOTEGROUPDIRECTORYID" as REMOTEGR3_1_, groups0_."REMOTEGROUPNAME" as REMOTEGR4_1_, remotegrou1_."ID" as ID1_31_0_, remotegrou1_."NAME" as NAME2_31_0_, remotegrou1_."ACTIVE" as ACTIVE3_31_0_, remotegrou1_."CONCEPTION" as CONCEPTION4_31_0_, remotegrou1_."LASTMODIFIED" as LASTMODI5_31_0_, remotegrou1_."DESCRIPTION" as DESCRIPT6_31_0_, remotegrou1_.DIRECTORYID as DIRECTOR7_31_0_ from "REMOTEGROUPMEMBERS" groups0_ left outer join "REMOTEGROUP" remotegrou1_ on groups0_."REMOTEGROUPDIRECTORYID"=remotegrou1_."ID" and groups0_."REMOTEGROUPNAME"=remotegrou1_."NAME" where groups0_."REMOTEPRINCIPALDIRECTORYID"=32769 and groups0_."REMOTEPRINCIPALNAME"='admin']	at org.hsqldb.Trace.getError(Unknown Source)	at org.hsqldb.jdbcResultSet.(Unknown Source)	at org.hsqldb.jdbcConnection.executeStandalone(Unknown Source)	at org.hsqldb.jdbcConnection.execute(Unknown Source)	at org.hsqldb.jdbcStatement.fetchResult(Unknown Source)	at org.hsqldb.jdbcStatement.executeQuery(Unknown Source)	at org.hsqldb.jdbcPreparedStatement.executeQuery(Unknown Source)	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)	at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)	at org.hibernate.loader.Loader.getResultSet(Loader.java:1787)	at org.hibernate.loader.Loader.doQuery(Loader.java:674)	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)	at org.hibernate.loader.Loader.loadCollection(Loader.java:1994)	at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:36)	at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:565)	at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60)	at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1716)	at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344)	at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)	at org.hibernate.collection.AbstractPersistentCollection.readElementExistence(AbstractPersistentCollection.java:142)	at org.hibernate.collection.PersistentSet.contains(PersistentSet.java:153)	at com.atlassian.crowd.integration.directory.internal.InternalDirectory.isGroupMember(InternalDirectory.java:231)	at com.atlassian.crowd.manager.GenericManager.hasAccess(GenericManager.java:263)	at com.atlassian.crowd.manager.application.ApplicationManagerGeneric.authenticate(ApplicationManagerGeneric.java:570)	at com.atlassian.crowd.manager.application.ApplicationManagerGeneric.authenticate(ApplicationManagerGeneric.java:528)	at com.atlassian.crowd.manager.application.ApplicationManagerGeneric.authenticate(ApplicationManagerGeneric.java:522)	at com.atlassian.crowd.service.soap.SecurityServerGeneric.authenticatePrincipal(SecurityServerGeneric.java:164)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)	at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at $Proxy82.authenticatePrincipal(Unknown Source)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.codehaus.xfire.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:59)	at org.codehaus.xfire.service.binding.ServiceInvocationHandler.sendMessage(ServiceInvocationHandler.java:320)	at org.codehaus.xfire.service.binding.ServiceInvocationHandler$1.run(ServiceInvocationHandler.java:86)	at org.codehaus.xfire.service.binding.ServiceInvocationHandler.execute(ServiceInvocationHandler.java:134)	at org.codehaus.xfire.service.binding.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:109)	at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)	at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64)	at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)	at org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.java:304)	at org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:129)	at org.codehaus.xfire.transport.http.XFireServlet.doPost(XFireServlet.java:116)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)	at com.atlassian.crowd.console.filter.CrowdOpenSessionInViewFilter.doFilterInternal(CrowdOpenSessionInViewFilter.java:26)	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:88)	at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:64)	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)	at com.atlassian.crowd.console.filter.CrowdDelegatingFilterProxy.doFilter(CrowdDelegatingFilterProxy.java:38)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)	at java.lang.Thread.run(Thread.java:595)