I removed few levels of hierarchy in my XML and I was able to access data
from the lower levels. My XML schema was 10 levels deep. I had it changed to
5 levels by removing the unnecessary levels.

For now I am going to try and keep my schemas less than 6 levels deep.

Others have also seen this happen due to limitation of windows file name
length. But I was not even close to 255. The XMLBeans inner class file names
were under 150??

I also found this alternative solution (I didn't try this)

http://forums.bea.com/bea/message.jspa?messageID=200609795&tstart=0

-vineet


On 7/27/05 9:08 AM, "Vineet Bhatia" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I have multiple levels of hierarchy in my XMLBeans returned by LDControl.
> I am using netui tags (as described in the docs) to generate a table in JSP.
> 
> I get the following exception -
> 
> Caught exception when evaluating expression "{container.item.someLevel2Array}"
> with available binding contexts [actionForm, pageFlow, globalApp, request,
> session, appication, pageContext, bundle, container, url, pageInput]. Root
> cause: java.lang.ArrayStoreException
> 
> The weird thing is that someLevel1Array works. Levels below 1 are not working.
> 
> JSPF -
> 
> private SomeLDControl myControl;
> public someNamespace.SomeDataDocument.SomeData.stuff[] stuffArray;
> 
> ....
> 
> In JSPF action method -
> 
> someNamespace.SomeDataDocument var = myControl.LDQueryName(aForm.param);
> getRequest().setAttribute("results", var);
> stuffArray = var.getSomeData().getStuffArray();
> return new Forward("success");
> 
> In JSP page -
> <netui-data:repeater dataSource="{pageFlow.stuffArray}">
> ...
> <netui-data:repeater dataSource="{container.item.level1DataArray[0]}"> <--
> this works -->
> ...
> <netui-data:repeater dataSource="{container.item.level2DataArray[0]}"> <--
> DOES NOT WORK!! -->
> 
> Any clues what I might be missing?
> 
> Is there another way to do this?
>  
> Is there any way to turn on debugging in XMLBeans to see from where this error
> is coming?
> 
> - vineet 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to