Mantis - Resin
Viewing Issue Advanced Details
1816 minor always 06-22-07 08:55 06-22-07 11:40
ferg  
ferg  
normal  
closed 3.1.1  
fixed  
none    
none 3.1.2  
0001816: Amber nullpointer
(rep by frankhung)

 
I have just upgraded the Resin from 2.1.1 to 3.1.1. It seems work well, but I feel so confused that in the log file, it always have error messages like that:
 
 java.lang.NullPointerException
  at com.caucho.amber.manager.AmberPersistenceUnit.updateCacheItem(AmberPersistenceUnit.java:1605)
  at _ejb.jobBean.JobBean__Amber.__caucho_afterCommit(JobBean__Amber.java:3862)
  at _ejb.jobBean.JobBean__EJB$Bean._caucho_afterCompletion(JobBean__EJB.java:229)
  at com.caucho.ejb.xa.TransactionContext.afterCompletion(TransactionContext.java:584)
  at com.caucho.transaction.TransactionImpl.callAfterCompletion(TransactionImpl.java:897)
  at com.caucho.transaction.TransactionImpl.commit(TransactionImpl.java:717)
  at com.caucho.transaction.TransactionManagerImpl.commit(TransactionManagerImpl.java:261)
  at com.caucho.jca.UserTransactionImpl.commit(UserTransactionImpl.java:404)
  at com.caucho.jca.UserTransactionProxy.commit(UserTransactionProxy.java:141)
  at com.caucho.ejb.xa.TransactionContext.commit(TransactionContext.java:446)
  at _ejb.jobBean.JobBean__EJB$LocalHome.selectAllJob(JobBean__EJB.java:1027)
  at _jsp._job_0list__jsp._jspService(_job_0list__jsp.java:1200)
  at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
  at com.caucho.jsp.Page.pageservice(Page.java:577)
  at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:192)
  at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
  at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)
  at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:424)
  at com.caucho.server.port.TcpConnection.run(TcpConnection.java:477)
  at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:600)
  at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:522)
  at java.lang.Thread.run(Thread.java:595)
 
Where _jsp._job_0list__jsp._jspService(_job_0list__jsp.java:1200) is a ejbSelect like following:
 
jobArray = jobHome.selectAllJob(job_number, ...
 
I already disable the resin cache to try to solve this problem, however it does not work.
 
Can anyone give me some ideas to solve this problem? Thanks.
 

There are no notes attached to this issue.