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 Oracle Community by 807581, 1 year ago
This exception has no message.
java.lang.Exception: 	at com.sun.enterprise.server.ss.ASSelector.register(ASSelector.java:58)	at java.nio.channels.spi.AbstractSelectableChannel.register(AbstractSelectableChannel.java:180)	at java.nio.channels.SelectableChannel.register(SelectableChannel.java:254)	at com.sun.enterprise.server.ss.ASOutputStream.(ASOutputStream.java:43)	at com.sun.enterprise.server.ss.ASClientSocketImpl.getOutputStream(ASClientSocketImpl.java:134)	at java.net.Socket$3.run(Socket.java:801)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.Socket.getOutputStream(Socket.java:798)	at org.postgresql.core.PGStream.changeSocket(PGStream.java:107)	at org.postgresql.core.PGStream.(PGStream.java:60)	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:77)	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)	at org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:125)	at org.postgresql.jdbc3.AbstractJdbc3Connection.(AbstractJdbc3Connection.java:30)	at org.postgresql.jdbc3.Jdbc3Connection.(Jdbc3Connection.java:24)	at org.postgresql.Driver.makeConnection(Driver.java:382)	at org.postgresql.Driver.connect(Driver.java:260)	at java.sql.DriverManager.getConnection(DriverManager.java:525)	at java.sql.DriverManager.getConnection(DriverManager.java:140)	at org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newConnectionFromDriverManager(Unknown Source)	at org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl$ConPoolFactory.makeObject(Unknown Source)	at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:771)	at org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl.checkOutJdbcConnection(Unknown Source)	at org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.lookupConnection(Unknown Source)	at org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getConnection(Unknown Source)	at org.apache.ojb.broker.accesslayer.StatementManager.getPreparedStatement(Unknown Source)	at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(Unknown Source)	at org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(Unknown Source)	at org.apache.ojb.broker.accesslayer.RsIterator.(Unknown Source)	at org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(Unknown Source)	at org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(Unknown Source)	at org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(Unknown Source)	at org.apache.ojb.broker.core.PersistenceBrokerImpl.getObjectByQuery(Unknown Source)	at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuery(Unknown Source)	at org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuery(Unknown Source)	at au.com.tt.holpub.dao.ProductDAO.findByTemplate(Unknown Source)	at au.com.tt.holpub.ProductApp.retrieveProduct(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 com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)	at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)	at javax.faces.component.UICommand.broadcast(UICommand.java:312)	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)	at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)	at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:193)	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.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)	at java.security.AccessController.doPrivileged(Native Method)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)	at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)	at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)	at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)	at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)	at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)