Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 29441 invoked from network); 19 Nov 2007 22:51:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Nov 2007 22:51:09 -0000 Received: (qmail 50514 invoked by uid 500); 19 Nov 2007 22:50:54 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 50479 invoked by uid 500); 19 Nov 2007 22:50:54 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 50466 invoked by uid 99); 19 Nov 2007 22:50:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 14:50:54 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2007 22:51:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6439A714211 for ; Mon, 19 Nov 2007 14:50:43 -0800 (PST) Message-ID: <10863758.1195512643406.JavaMail.jira@brutus> Date: Mon, 19 Nov 2007 14:50:43 -0800 (PST) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3197) NPE in ProjectRestrictResultSet on finishAndRTS In-Reply-To: <9411528.1194772010724.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12543717 ] Knut Anders Hatlen commented on DERBY-3197: ------------------------------------------- What seems to be the same NullPointerException was mentioned in this comment on DERBY-3175: https://issues.apache.org/jira/browse/DERBY-3175#action_12541670 And it also contains line numbers for the Derby code: Caused by: java.lang.NullPointerException at org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.finishAndRTS(BasicNoPutResultSetImpl.java:634) at org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.finish(BasicNoPutResultSetImpl.java:607) at org.apache.derby.impl.sql.execute.BaseActivation.close(BaseActivation.java:351) at org.apache.derby.impl.sql.GenericActivationHolder.execute(GenericActivationHolder.java:304) at org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:368) at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1203) ... 24 more No repro was attached, though. > NPE in ProjectRestrictResultSet on finishAndRTS > ------------------------------------------------ > > Key: DERBY-3197 > URL: https://issues.apache.org/jira/browse/DERBY-3197 > Project: Derby > Issue Type: Bug > Affects Versions: 10.3.1.4 > Environment: Mac os X java 1.5.0_07 Jboss > Reporter: Patrick > > I got the NPE on my jboss Derby is uses as XA Datasource after this NPE the connection to the DB is broken > Thread [WorkerThread#2[127.0.0.1:55525]] (Suspended (exception NullPointerException)) > ProjectRestrictResultSet(BasicNoPutResultSetImpl).finishAndRTS() line: not available > ProjectRestrictResultSet.finish() line: not available > acb9810038x0116x2de8xc403xffffdf5ec298b3(BaseActivation).close() line: not available > GenericActivationHolder.execute() line: not available > GenericPreparedStatement.execute(Activation, boolean, long) line: not available > EmbedPreparedStatement30(EmbedStatement).executeStatement(Activation, boolean, boolean) line: not available > EmbedPreparedStatement30(EmbedPreparedStatement).executeStatement(Activation, boolean, boolean) line: not available > EmbedPreparedStatement30(EmbedPreparedStatement).executeQuery() line: not available > BrokeredPreparedStatement30(BrokeredPreparedStatement).executeQuery() line: not available > WrappedPreparedStatement.executeQuery() line: 236 > SingleTableEntityPersister(AbstractEntityPersister).getDatabaseSnapshot(Serializable, SessionImplementor) line: 1021 > StatefulPersistenceContext.getDatabaseSnapshot(Serializable, EntityPersister) line: 234 > ForeignKeys.isTransient(String, Object, Boolean, SessionImplementor) line: 189 > ForeignKeys$Nullifier.isNullifiable(String, Object) line: 137 > ForeignKeys$Nullifier.nullifyTransientReferences(Object, Type) line: 69 > ForeignKeys$Nullifier.nullifyTransientReferences(Object[], Type[]) line: 47 > EJB3PersistEventListener(AbstractSaveEventListener).performSaveOrReplicate(Object, EntityKey, EntityPersister, boolean, Object, EventSource, boolean) line: 288 > EJB3PersistEventListener(AbstractSaveEventListener).performSave(Object, Serializable, EntityPersister, boolean, Object, EventSource, boolean) line: 181 > EJB3PersistEventListener(AbstractSaveEventListener).saveWithGeneratedId(Object, String, Object, EventSource, boolean) line: 121 > EJB3PersistEventListener(DefaultPersistEventListener).entityIsTransient(PersistEvent, Map) line: 131 > EJB3PersistEventListener(DefaultPersistEventListener).onPersist(PersistEvent, Map) line: 87 > EJB3PersistEventListener(DefaultPersistEventListener).onPersist(PersistEvent) line: 38 > SessionImpl.firePersist(PersistEvent) line: 618 > SessionImpl.persist(String, Object) line: 592 > SessionImpl.persist(Object) line: 596 > EntityManagerImpl(AbstractEntityManagerImpl).persist(Object) line: 212 > TransactionScopedEntityManager.persist(Object) line: 182 > BatchADCHomeSession(HomeSession).persist(T) line: 47 > GeneratedMethodAccessor91.invoke(Object, Object[]) line: not available > DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 > Method.invoke(Object, Object...) line: 585 > EJBContainerInvocation(MethodInvocation).invokeNext() line: 112 > InvocationContextImpl.proceed() line: 166 > EJB3InterceptorsInterceptor.invoke(Invocation) line: 63 > EJBContainerInvocation(MethodInvocation).invokeNext() line: 101 > TransactionScopedEntityManagerInterceptor.invoke(Invocation) line: 54 > EJBContainerInvocation(MethodInvocation).invokeNext() line: 101 > AllowedOperationsInterceptor.invoke(Invocation) line: 47 > EJBContainerInvocation(MethodInvocation).invokeNext() line: 101 > Ejb3TxPolicy(TxPolicy).invokeInOurTx(Invocation, TransactionManager) line: 79 > TxInterceptor$Required.invoke(Invocation) line: 191 > EJBContainerInvocation(MethodInvocation).invokeNext() line: 101 > TxPropagationInterceptor.invoke(Invocation) line: 76 > EJBContainerInvocation(MethodInvocation).invokeNext() line: 101 > StatelessInstanceInterceptor.invoke(Invocation) line: 62 > EJBContainerInvocation(MethodInvocation).invokeNext() line: 101 > Ejb3AuthenticationInterceptor(AuthenticationInterceptor).invoke(Invocation) line: 77 > Ejb3AuthenticationInterceptor.invoke(Invocation) line: 106 > EJBContainerInvocation(MethodInvocation).invokeNext() line: 101 > ENCPropagationInterceptor.invoke(Invocation) line: 46 > EJBContainerInvocation(MethodInvocation).invokeNext() line: 101 > AsynchronousInterceptor.invoke(Invocation) line: 106 > EJBContainerInvocation(MethodInvocation).invokeNext() line: 101 > StatelessContainer.dynamicInvoke(Object, Invocation) line: 278 > Dispatcher.invoke(Invocation) line: 106 > AOPRemotingInvocationHandler.invoke(InvocationRequest) line: 82 > SocketServerInvoker(ServerInvoker).invoke(InvocationRequest) line: 734 > ServerThread.processInvocation(SocketWrapper) line: 560 > ServerThread.dorun() line: 369 > ServerThread.run() line: 165 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.