[OFBiz] Dev - Bug report

Jacques Le Roux jacques.le.roux at les7arts.com
Tue Jul 19 02:22:52 EDT 2005


While testing my recent modifications get("description",locale) I found this
bug when wanting to add a role to a communication (Party module)

Strange because there are 15 other expressions like this in all OFBiz (with
specialized). I did not test them all ;o). The expression is :

party = delegator.findByPrimaryKey("Party", UtilMisc.toMap("partyId",
partyId));

I don't know if I must create a Jira issue for it.

Jacques

org.ofbiz.base.util.GeneralException: Error rendering screen
[editCommunication]: org.ofbiz.base.util.GeneralException: Error running BSH
script at location
[component://party/webapp/partymgr/WEB-INF/actions/communication/editCommuni
cation.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script
at
[component://party/webapp/partymgr/WEB-INF/actions/communication/editCommuni
cation.bsh], line [42]: Sourced file:
component://party/webapp/partymgr/WEB-INF/actions/communication/editCommunic
ation.bsh : Method Invocation delegator.findByPrimaryKey : at Line: 42 : in
file:
component://party/webapp/partymgr/WEB-INF/actions/communication/editCommunic
ation.bsh : delegator .findByPrimaryKey ( "Party" , UtilMisc .toMap (
"partyId" , partyId ) )

Target exception: org.ofbiz.entity.GenericNotImplementedException: Not
Implemented Exception while setting value on field [partyId] of entity
Party: org.ofbiz.entity.GenericNotImplementedException: Java type
java.util.Arrays$ArrayList not currently supported. Sorry. (Java type
java.util.Arrays$ArrayList not currently supported. Sorry.)
(Sourced file:
component://party/webapp/partymgr/WEB-INF/actions/communication/editCommunic
ation.bsh : Method Invocation delegator.findByPrimaryKey) (Error running BSH
script at
[component://party/webapp/partymgr/WEB-INF/actions/communication/editCommuni
cation.bsh], line [42]: Sourced file:
component://party/webapp/partymgr/WEB-INF/actions/communication/editCommunic
ation.bsh : Method Invocation delegator.findByPrimaryKey : at Line: 42 : in
file:
component://party/webapp/partymgr/WEB-INF/actions/communication/editCommunic
ation.bsh : delegator .findByPrimaryKey ( "Party" , UtilMisc .toMap (
"partyId" , partyId ) )

Target exception: org.ofbiz.entity.GenericNotImplementedException: Not
Implemented Exception while setting value on field [partyId] of entity
Party: org.ofbiz.entity.GenericNotImplementedException: Java type
java.util.Arrays$ArrayList not currently supported. Sorry. (Java type
java.util.Arrays$ArrayList not currently supported. Sorry.)
(Sourced file:
component://party/webapp/partymgr/WEB-INF/actions/communication/editCommunic
ation.bsh : Method Invocation delegator.findByPrimaryKey)) (Error running
BSH script at location
[component://party/webapp/partymgr/WEB-INF/actions/communication/editCommuni
cation.bsh]: org.ofbiz.base.util.GeneralException: Error running BSH script
at
[component://party/webapp/partymgr/WEB-INF/actions/communication/editCommuni
cation.bsh], line [42]: Sourced file:
component://party/webapp/partymgr/WEB-INF/actions/communication/editCommunic
ation.bsh : Method Invocation delegator.findByPrimaryKey : at Line: 42 : in
file:
component://party/webapp/partymgr/WEB-INF/actions/communication/editCommunic
ation.bsh : delegator .findByPrimaryKey ( "Party" , UtilMisc .toMap (
"partyId" , partyId ) )

Target exception: org.ofbiz.entity.GenericNotImplementedException: Not
Implemented Exception while setting value on field [partyId] of entity
Party: org.ofbiz.entity.GenericNotImplementedException: Java type
java.util.Arrays$ArrayList not currently supported. Sorry. (Java type
java.util.Arrays$ArrayList not currently supported. Sorry.)
(Sourced file:
component://party/webapp/partymgr/WEB-INF/actions/communication/editCommunic
ation.bsh : Method Invocation delegator.findByPrimaryKey) (Error running BSH
script at
[component://party/webapp/partymgr/WEB-INF/actions/communication/editCommuni
cation.bsh], line [42]: Sourced file:
component://party/webapp/partymgr/WEB-INF/actions/communication/editCommunic
ation.bsh : Method Invocation delegator.findByPrimaryKey : at Line: 42 : in
file:
component://party/webapp/partymgr/WEB-INF/actions/communication/editCommunic
ation.bsh : delegator .findByPrimaryKey ( "Party" , UtilMisc .toMap (
"partyId" , partyId ) )

Target exception: org.ofbiz.entity.GenericNotImplementedException: Not
Implemented Exception while setting value on field [partyId] of entity
Party: org.ofbiz.entity.GenericNotImplementedException: Java type
java.util.Arrays$ArrayList not currently supported. Sorry. (Java type
java.util.Arrays$ArrayList not currently supported. Sorry.)
(Sourced file:
component://party/webapp/partymgr/WEB-INF/actions/communication/editCommunic
ation.bsh : Method Invocation delegator.findByPrimaryKey)))





More information about the Dev mailing list