Bugs item #1027347, was opened at 2004-09-13 19:20
Message generated for change (Comment added) made by loubyansky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1027347&group_id=22866

Category: JBossCMP
Group: v3.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Mathieu Rousseau (nono31)
Assigned to: Alexey Loubyansky (loubyansky)
Summary: 3.2.6RC2 critical problem

Initial Comment:
I got 3.2.6RC2 from CVS one or 2 weeks ago.
Release ID: JBoss [WonderLand] 3.2.6RC2 (build:
CVSTag=Branch_3_2 date=200408291915)

I've been working with it and with a mySQL database
without problems.

I choosed to change my Database from mySQL to PostgreSQL.

Here is my problem:
Got a pk in my table, that I want postgresql to
increment, so I use: <entity-command
name="postgresql-fetch-seq">

It should not be any problem... but it is...
On 3.2.6RC2, I got this message:
 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCPostgreSQLCreateCommand.Bug]
Executing SQL: INSERT INTO bug (description, severity,
bug_status, software
_id) VALUES (?, ?, ?, ?)
2004-09-13 12:31:26,781 ERROR
[org.jboss.ejb.plugins.LogInterceptor]
TransactionRolledbackLocalException in method: public
abstract net.bugsystem.entity.BugLocal net.bugsystem.e
ntity.BugLocalHome.create(java.lang.Integer,java.lang.String,java.lang.Integer,java.lang.Integer,java.lang.Integer)
throws javax.ejb.CreateException, causedBy:
java.lang.NullPointerException
2004-09-13 12:31:26,784 ERROR
[org.jboss.ejb.plugins.LogInterceptor]
TransactionRolledbackException in method: public
abstract void net.bugsystem.stateless.BugSystem.addBug(java
.lang.String,java.lang.Integer,java.lang.Integer,java.lang.Integer)
throws
javax.ejb.CreateException,javax.ejb.FinderException,java.rmi.RemoteException,
causedBy:
java.lang.NullPointerException
2004-09-13 12:31:26,787 WARN 
[org.apache.struts.action.RequestProcessor] Unhandled
Exception thrown: class
org.jboss.tm.JBossTransactionRolledbackException
2004-09-13 12:31:26,787 ERROR
[org.jboss.web.localhost.Engine]
StandardWrapperValve[BugSystemControler]:
Servlet.service() for servlet BugSystemControler threw
exception
org.jboss.tm.JBossTransactionRolledbackException: null;
CausedByException is:
        null; nested exception is: 
        java.lang.NullPointerException; - nested
throwable: (java.lang.NullPointerException)
        at
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:262)
        at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
        at
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
        at
org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331)
        at
org.jboss.ejb.Container.invoke(Container.java:709)
        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:324)
        at
org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
        at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
        at
org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
        at
org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
        at
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:191)
        at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
        at
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:97)
        at
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90)
        at
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
        at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
        at
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
        at
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
        at $Proxy297.addBug(Unknown Source)
        at
net.bugsystem.servlet.BugSystemActions.createBug(BugSystemActions.java:286)
        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:324)
        at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
        at
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1158)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
        at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
        at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)





I changed back to 3.2.5 with the same app (no change, I
copied the .jar and .war) and it works perfectly...

I am using Debian Gnu Linux (sid) with postgresql
7.4.5, and postgresql jdbc driver version 3 7.4.2


jdk 1.4.2_05

cya

----------------------------------------------------------------------

>Comment By: Alexey Loubyansky (loubyansky)
Date: 2004-09-14 12:51

Message:
Logged In: YES 
user_id=543482

Fixed in 3.2.6 and 4.0. Thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1027347&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to