KEY查询时,出现如下错误.大家帮帮忙!!!

03-08-25 liuxing555
环境为WEBLOGIC7.0,JDK1.4.0.TEST环境为JUNIT,ANT.

执行时出现例外为:现在状态是什么都查询不出.我已苦闷了好几天,请大家帮帮忙,我会非常感谢的.

javax.ejb.FinderException: Exception raised in findByPrimaryKey

java.lang.NumberFormatException: null

java.lang.NumberFormatException: null

at java.lang.Long.parseLong(Long.java:292)

at java.lang.Long.<init>(Long.java:559)

at jp.co.suntory.noi.ejb.management.soko_zaiko.SokoZaikoPK.hashCode(Soko

ZaikoPK.java:170)

at java.util.HashMap.hash(HashMap.java:257)

at java.util.HashMap.put(HashMap.java:375)

at java.util.HashSet.add(HashSet.java:188)

at weblogic.ejb20.internal.TxManager$TxListener.addPrimaryKey(TxManager.

java:462)

at weblogic.ejb20.internal.TxManager.registerSynchronization(TxManager.j

ava:105)

at weblogic.ejb20.manager.BaseEJBManager.setupTxListener(BaseEJBManager.

java:224)

at weblogic.ejb20.manager.BaseEntityManager.setupTxListenerAndTxUser(Bas

eEntityManager.java:2328)

at weblogic.ejb20.manager.DBManager.finderCacheInsert(DBManager.java:151

3)

at weblogic.ejb20.manager.BaseEntityManager.finderCacheInsert(BaseEntity

Manager.java:1286)

at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.finderCacheInsert(RD

BMSPersistenceManager.java:1640)

at jp.co.suntory.noi.ejb.management.soko_zaiko.SokoZaikoEJB_dzkqdu__WebL

ogic_CMP_RDBMS.ejbFindByPrimaryKey(SokoZaikoEJB_dzkqdu__WebLogic_CMP_RDBMS.java:

2080)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.findByPrimaryKey(RDB

MSPersistenceManager.java:232)

at weblogic.ejb20.manager.BaseEntityManager.findByPrimaryKey(BaseEntityM

anager.java:1428)

at weblogic.ejb20.manager.BaseEntityManager.remoteFindByPrimaryKey(BaseE

ntityManager.java:1371)

at weblogic.ejb20.internal.EntityEJBHome.findByPrimaryKey(EntityEJBHome.

java:370)

at jp.co.suntory.noi.ejb.management.soko_zaiko.SokoZaikoEJB_dzkqdu_HomeI

mpl.findByPrimaryKey(SokoZaikoEJB_dzkqdu_HomeImpl.java:103)

at jp.co.suntory.noi.ejb.management.soko_zaiko.SokoZaikoEJB_dzkqdu_HomeI

mpl_CBV.findByPrimaryKey(Unknown Source)

at jp.co.suntory.noi.ejb.service.soko_zaiko.SokoZaikoServiceEJB.rironzan

SearchSokoZaiko(SokoZaikoServiceEJB.java:284)

at jp.co.suntory.noi.ejb.service.soko_zaiko.SokoZaikoServiceEJB_4unnwg_E

OImpl.rironzanSearchSokoZaiko(SokoZaikoServiceEJB_4unnwg_EOImpl.java:46)

at jp.co.suntory.noi.ejb.service.soko_zaiko.SokoZaikoServiceEJB_4unnwg_E

OImpl_WLSkel.invoke(Unknown Source)

at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:407)

at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR

ef.java:108)

at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:356)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate

dSubject.java:353)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:

123)

at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav

a:351)

at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest

.java:30)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

at jp.co.suntory.noi.ejb.management.soko_zaiko.SokoZaikoEJB_dzkqdu__WebL

ogic_CMP_RDBMS.ejbFindByPrimaryKey(SokoZaikoEJB_dzkqdu__WebLogic_CMP_RDBMS.java:

2109)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.findByPrimaryKey(RDB

MSPersistenceManager.java:232)

at weblogic.ejb20.manager.BaseEntityManager.findByPrimaryKey(BaseEntityM

anager.java:1428)

at weblogic.ejb20.manager.BaseEntityManager.remoteFindByPrimaryKey(BaseE

ntityManager.java:1371)

at weblogic.ejb20.internal.EntityEJBHome.findByPrimaryKey(EntityEJBHome.

java:370)

at jp.co.suntory.noi.ejb.management.soko_zaiko.SokoZaikoEJB_dzkqdu_HomeI

mpl.findByPrimaryKey(SokoZaikoEJB_dzkqdu_HomeImpl.java:103)

at jp.co.suntory.noi.ejb.management.soko_zaiko.SokoZaikoEJB_dzkqdu_HomeI

mpl_CBV.findByPrimaryKey(Unknown Source)

at jp.co.suntory.noi.ejb.service.soko_zaiko.SokoZaikoServiceEJB.rironzan

SearchSokoZaiko(SokoZaikoServiceEJB.java:284)

at jp.co.suntory.noi.ejb.service.soko_zaiko.SokoZaikoServiceEJB_4unnwg_E

OImpl.rironzanSearchSokoZaiko(SokoZaikoServiceEJB_4unnwg_EOImpl.java:46)

at jp.co.suntory.noi.ejb.service.soko_zaiko.SokoZaikoServiceEJB_4unnwg_E

OImpl_WLSkel.invoke(Unknown Source)

at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:407)

at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR

ef.java:108)

at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:356)

at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate

dSubject.java:353)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:

123)

at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav

a:351)

at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest

.java:30)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)

at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)

猜你喜欢