all groups > macromedia flash flash remoting > january 2005 >
You're in the

macromedia flash flash remoting

group:

unknown CF error to a remoting call - please help


unknown CF error to a remoting call - please help cosmits
1/20/2005 3:38:04 PM
macromedia flash flash remoting:
Hi all Trying to make a call (send a form) from flash thru Flash Remoting which
hands it on to CF which suppose to insert the form values into MS SQL server
2000 CF is returning a 'Server processing' type of error which says:
java.lang.IndexOutOfBoundsException or code: 'SERVER.PROCESSING'
......description: 'Service threw an exception during method invocation: Index:
25, Size: 25' .....details: 'java.lang.IndexOutOfBoundsException: Index: 25,
Size: 25 anybody have any Idea what this might mean? I tested the connection
between CF and MS SQL with a dummy call from flash and it did work but somehow
- when I get to the real deal - it starts to fire chinese at me..... anybody
had any similar expirience or is a CF wizard? Thank you for your time Yariv
Re: unknown CF error to a remoting call - please help fu-meng
1/25/2005 4:50:15 PM
hey there. just noticed your post. i'm having similar issues. out of the
flash ide and on my testing server, all browsers successfully make remoting
calls to coldfusion -- and then coldfusion inserts it into my database. but
as soon as i post it on my production server, gecko-based browsers continue to
make the remoting calls but don't make the insertions into the database. you
know what the weird thing is.....i first fixed it by reinstalling the flash
player, if you can believe that. but now that solution that worked for me a
week ago isn't working anymore. have you made any progress? thanks. - fumeng.
Re: unknown CF error to a remoting call - please help cosmits
1/27/2005 5:40:25 PM
Hi I tracked down my problam, i don't know if it will help you though CF
described the error as : .....details: 'java.lang.IndexOutOfBoundsException:
Index: 25, Size: 25 which in my case meant that it expected an array of 31
items and got 25.... see - in my function (that insert form field values) is
one argumnt of an array type, the number of fields that are actualy in the
query are 31 and the array I passed it was 25 items long.... so there you have
it hope that helped....
Re: unknown CF error to a remoting call - please help fu-meng
1/27/2005 10:56:12 PM
hi. thanks for replying to my post. i don't think you and i are having the
same problem after all, but i am glad that you figured yours out. with mine,
i'm not passing an array, it just appears that the flash client on gecko
browsers is somehow losing connection to my coldfusion service.... it's
strange because i can build simple apps that make remoting calls to my
coldfusion service and they do work on gecko browsers...not sure what's
happening. the stranger thing is that when this problem first appeared i
reinstalled the flash player and everything was working magically again. but
since then the same problem has reappeared. so that begs the question -- what
would reinstalling the flash playerd do that would solve my problem?? can't
really say because that solution isn't working anymore. sorry for the long
post. congrats on finding a solution. best, fumeng.
AddThis Social Bookmark Button