do you have a quickstart?
can you see what version do you use? (390 is not a code line in the code i
am now looking at)
But looking at the code around that line:
try
{
this.xmlReader = new XmlReader(
new BufferedInputStream(resource.getInputStream(),
4000), encoding);
this.input = new FullyBufferedReader(this.xmlReader);
}
finally
{
resource.close();
this.xmlReader.close(); << this is 390 i guess
}
then this seems a bit wrong yes..
If there is a problem constructing the XmlReader then that exception is
swallowed and a null pointer is generated
will fix this.
johan
On 1/15/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
We are hosting a project based on wicket and we have done a series of test
deployments that seem to work very fine. However we did an upgrade and we
are consistently getting this error.
any idea as to why this happens. Code runs fine on localhost machine
B
Root cause:
java.lang.NullPointerException
at wicket.markup.parser.XmlPullParser.parse(XmlPullParser.java:390)
at wicket.markup.MarkupParser.readAndParse(MarkupParser.java :196)
at wicket.markup.MarkupCache.loadMarkup(MarkupCache.java:279)
at wicket.markup.MarkupCache.loadMarkupAndWatchForChanges(MarkupCache.java
:354)
at wicket.markup.MarkupCache.getMarkup(MarkupCache.java :198)
at wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:106)
at wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java
:827)
at wicket.markup.html.WebPage.commonInit(WebPage.java :235)
at wicket.markup.html.WebPage.<init>(WebPage.java:120)
at com.nairanet.nelx.HomePage.<init>(HomePage.java:55)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user