There are required fields but they are not designated on this page as
they are on other pages.
https://localhost.com:8443/partymgr/control/editperson?create_new=Y
It should not let you save till they are all filled in.
so that is a bug.

In your case, it sounds like the map is not being populated before
calling the createPerson Service, from the above page.

Note there has been some changes to the trunk that may effect this.
try using ver 4.0 (586794)since is pretty stable.

if you are using a direct call to createPerson
https://localhost:8443/webtools/control/availableServices?sel_service_name=createPerson
then you need to check if the map you set up actually contains first and
last names

Case Torres sent the following on 10/26/2007 11:06 AM:
> 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]
> 
> 
> 

Reply via email to