2008-11-12 07:03:14 UTC
Hi,
I have an XUI page as follows...
<XPage class="com.ocimum.biotracker.Biotracker">
<Components>
<MenuBar name="menubar" w="1020" h="20">
<Menu name="filemenu" text="File" >
<MenuItem name="menuItemPerson" text="Person"/>
<MenuItem name="menuItemClose" text="Close"/>
</Menu>
</MenuBar>
</Components>
<Events>
<Event target="menuItemPerson" type="MenuHandler" method="person"/>
<Event target="menuItemClose" type="MenuHandler" method="close"/>
</Events>
</XPage>
when i try to run the application i get the following error...
Wed Nov 12 12:25:42 GMT+05:30 2008 ERROR: While adding the event element: close
java.lang.NullPointerException
at net.xoetrope.builder.XuiBuilder.getMenuItem(XuiBuilder.java:1502)
at net.xoetrope.builder.XuiBuilder.addEvent(XuiBuilder.java:839)
--
---
I tried to find the problem but was not able to do so. Can anyone please let me know what the problem is...???
regards,
Sri.