I was creating a "Person" in the instance below but I get the same error when
creating an "Employee".
The Following Errors Occurred:
ERROR: Could not complete the Create User
[file:/C:/ofbiz/applications/party/script/org/ofbiz/party/user/UserEvents.xml#createUser]
process [problem invoking the [createPerson] service with the map named
[personContext] containing [{middleName=null, lastName=Torres, locale=en_US,
gender=null, birthDate=null,
userLogin=[GenericEntity:UserLogin][createdStamp,2007-10-26
10:16:58.922(java.sql.Timestamp)][createdTxStamp,2007-10-26
10:16:58.437(java.sql.Timestamp)][currentPassword,47ca69ebb4bdc9ae0adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enabled,null()][hasLoggedOut,null()][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][lastTimeZone,null()][lastUpdatedStamp,2007-10-26
10:16:59.172(java.sql.Timestamp)][lastUpdatedTxStamp,2007-10-26
10:16:59.125(java.sql.Timestamp)][partyId,admin(java.lang.String)][passwordHint,null()][requirePasswordChange,null()][successiveFailedLogins,null()][userLoginId,admin(java.lang.String)],
firstName=Casey, suffix=null, personalTitle=null}]: Service target threw an
unexpected exception (You must pass an even sized array to the toMap
method)]
CaseT wrote:
>
> Hi,
>
> Revision: 585993.
> Thru Party Manager->Create,
> I entered a name in each of the First Name and Last Name fields and
> clicked
> "Save" and received the following error:
>
> "Error calling event: org.ofbiz.webapp.event.EventHandlerException:
> Service
> invocation error (You must pass an even sized array to the toMap method)"
> The console log doesn't report much else. See print out below.
> Anyone have any suggestions?
> Thanks, Case
>
> 2007-10-26 10:51:49,093 (http-0.0.0.0-8443-Processor3) [
> RequestHandler.java:314:ERROR] Request createPerson caused an error with
> the
> following message: Error calling event:
> org.ofbiz.webapp.event.EventHandlerException: Service invocation error
> (You
> must pass an even sized array to the toMap method)
> 2007-10-26 10:51:49,093 (http-0.0.0.0-8443-Processor3) [
> RequestHandler.java:433:INFO ] [RequestHandler.doRequest]: Response is a
> view. sessionId=42C9A498425AE329B517905952D5C569.jvm1
> 2007-10-26 10:51:49,093 (http-0.0.0.0-8443-Processor3) [
> RequestHandler.java:584:INFO ] servletName=control, view=EditPerson
> sessionId=42C9A498425AE329B517905952D5C569.jvm1
> 2007-10-26 10:51:49,109 (http-0.0.0.0-8443-Processor3) [
> ScreenFactory.java:118:INFO ] Got 26 screens in 0.016s from:
> file:/C:/ofbiz/applications/party/widget/partymgr/PartyScreens.xml
> 2007-10-26 10:51:49,109 (http-0.0.0.0-8443-Processor3) [
> PrimaryKeyFinder.java:122:INFO ] Returning null because found incomplete
> primary key in find: [GenericEntity:PartyAndPerson][partyId,null()]
> 2007-10-26 10:51:49,109 (http-0.0.0.0-8443-Processor3) [
> ScreenFactory.java:118:INFO ] Got 6 screens in 0.0s from:
> file:/C:/ofbiz/applications/party/widget/partymgr/CommonScreens.xml
> 2007-10-26 10:51:49,109 (http-0.0.0.0-8443-Processor3) [
> PrimaryKeyFinder.java:122:INFO ] Returning null because found incomplete
> primary key in find: [GenericEntity:Party][partyId,null()]
> 2007-10-26 10:51:49,109 (http-0.0.0.0-8443-Processor3) [
> PrimaryKeyFinder.java:122:INFO ] Returning null because found incomplete
> primary key in find: [GenericEntity:Person][partyId,null()]
> 2007-10-26 10:51:49,109 (http-0.0.0.0-8443-Processor3) [
> PrimaryKeyFinder.java:122:INFO ] Returning null because found incomplete
> primary key in find: [GenericEntity:PartyGroup][partyId,null()]
> 2007-10-26 10:51:49,125 (http-0.0.0.0-8443-Processor3) [
> ScreenFactory.java:118:INFO ] Got 16 screens in 0.0s from:
> file:/C:/ofbiz/framework/common/widget/CommonScreens.xml
> 2007-10-26 10:51:49,140 (http-0.0.0.0-8443-Processor3) [
> ModelScreenWidget.java:360:INFO ] In the include-screen tag the screen
> name
> was empty, ignoring include; in screen [GlobalDecorator]
>
>
>
> Case Torres
> [EMAIL PROTECTED]
>
>
>
>
--
View this message in context:
http://www.nabble.com/Error%3A-You-must-pass-an-even-sized-array-to-the-toMap-method-tf4698953.html#a13432702
Sent from the OFBiz - User mailing list archive at Nabble.com.