[Vif-devel] Document Object was Null.
Brought to you by:
aktion-hip
|
From: sridhanya <sri...@gm...> - 2006-02-16 16:18:29
|
Hi Benno,
I intimated you that when i added system.out.println statements i was
occassionally able to see the application.
Now Iam not able to see the same.:-(
Actually when i extracted the source code and configured in the eclipse i
got the following error.
I have sent the screenshot of the same[error.jpg].
Then I changed the follwoing code to
inContext.setRequestURL(new StringBuffer(inRequest.getRequestURI()));
Now iam not able to see the Menu alone.
Rest of the application is visible.
To analyse further i added System.out.println statements.
Iam pasting the same i got in tomcat console.
----------------Debug Messages----------------
-----Debugging----
All Arguments in MenuView Constructor
VIFContext=3D/admin
VIF COntext =3D getrequest url/vifapp/admin
inMenuFile=3Dd:\java\jakarta-
tomcat-5.0.0\webapps\vifapp\admin\en\member\menu.xmnu
inMenuId=3Dcreate
inGroupState=3D
inGroupType=3Dfalse
Now Calling PrepareTransfromation
------Inside createXML-----
MenuManager.getInstance()
MenuManager.getMenuXML
--->End of Log messages.{remaning where not printed because process
terminated due to error.}
Analysis
-----------
I found CMenus[Document object is null].
This i understood by trying to print lMenu.getBaseURI() which is document
object written by the getMEnuXML method.
Immediately Termination of process happend because lMenu was null.
I will also continue my debugging.
But iam astronished why previous 2 to 3 times i was able to see the
application.
Now to proceed i need to resolve it.
And i need your suggestions for the same.
Thanks
sridhanya
|