Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 80914 invoked from network); 17 Nov 2007 17:15:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Nov 2007 17:15:04 -0000 Received: (qmail 52906 invoked by uid 500); 17 Nov 2007 17:14:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 52854 invoked by uid 500); 17 Nov 2007 17:14:51 -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 52845 invoked by uid 99); 17 Nov 2007 17:14:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Nov 2007 09:14:51 -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; Sat, 17 Nov 2007 17:14:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 09B2071422B for ; Sat, 17 Nov 2007 09:14:43 -0800 (PST) Message-ID: <26423643.1195319683013.JavaMail.jira@brutus> Date: Sat, 17 Nov 2007 09:14:43 -0800 (PST) From: "Patrick (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_12543292 ] Patrick commented on DERBY-3197: -------------------------------- mm yes i can reproduce (it happens on our regression test-cases) , as soon i can free up a litte of time i will build and attach the jar and the test cases.. FYI: NPE also happens on 1.2.1.6 we had to roolback to the 10.1.3.1 > 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.