[Wicket-user] Wicket exceptions?
Hi, I am not able to identify this exception, What situation this exception occurs. Please tell me your suggestions. Thanks java.lang.NullPointerException at com.enterra.vrm.qst.ui.page.reports.validatexl.AppletBasePanel$6.populateItem(AppletBasePanel.java:603) at wicket.markup.html.list.Loop.internalOnAttach(Loop.java:129) at wicket.Component.internalAttach(Component.java:2560) at wicket.MarkupContainer.internalAttach(MarkupContainer.java:341) at wicket.MarkupContainer.internalAttach(MarkupContainer.java:354) at wicket.MarkupContainer.internalAttach(MarkupContainer.java:354) -- View this message in context: http://www.nabble.com/Wicket-exceptions--tf4141828.html#a11781459 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket exceptions?
This is not a Wicket exception: you have made a programming error. Look at com.enterra.vrm.qst.ui.page.reports.validatexl.AppletBasePanel$6.populateItem(AppletBasePanel.java:603) i.e. line 603 in your AppletBasePanel.java file. There is the NPE. Martijn On 7/25/07, Durai007 [EMAIL PROTECTED] wrote: Hi, I am not able to identify this exception, What situation this exception occurs. Please tell me your suggestions. Thanks java.lang.NullPointerException at com.enterra.vrm.qst.ui.page.reports.validatexl.AppletBasePanel$6.populateItem(AppletBasePanel.java:603) at wicket.markup.html.list.Loop.internalOnAttach(Loop.java:129) at wicket.Component.internalAttach(Component.java:2560) at wicket.MarkupContainer.internalAttach(MarkupContainer.java:341) at wicket.MarkupContainer.internalAttach(MarkupContainer.java:354) at wicket.MarkupContainer.internalAttach(MarkupContainer.java:354) -- View this message in context: http://www.nabble.com/Wicket-exceptions--tf4141828.html#a11781459 Sent from the Wicket - User mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Wicket joins the Apache Software Foundation as Apache Wicket Apache Wicket 1.3.0-beta2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Wicket Exceptions
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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket Exceptions
Which version are you using? Juergen 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket Exceptions
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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket Exceptions
Why is the exception swallowed? Finally doesnt swallow it. Juergen On 1/15/07, Johan Compagner [EMAIL PROTECTED] wrote: 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket Exceptions
because xmlReader == null and then a null pointer is thrown. instead of the original exception that was created somewhere in the construction of xmlReader.. (thats why it is still null) johan On 1/15/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: Why is the exception swallowed? Finally doesnt swallow it. Juergen On 1/15/07, Johan Compagner [EMAIL PROTECTED] wrote: 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket Exceptions
version 1.2.3 On 1/15/07, Johan Compagner [EMAIL PROTECTED] wrote: because xmlReader == null and then a null pointer is thrown. instead of the original exception that was created somewhere in the construction of xmlReader.. (thats why it is still null) johan On 1/15/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: Why is the exception swallowed? Finally doesnt swallow it. Juergen On 1/15/07, Johan Compagner [EMAIL PROTECTED] wrote: 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV___
Re: [Wicket-user] Wicket Exceptions
also, even though the project is being tested on the internet, I am still in development mode (which i suppose is default, if not set at all) . it runs fine on localhost but the behaviour seems to appear once we try accessing the application from the internet. works without errors for a session but seems to throw this errors when other session users try to access it On 1/15/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: version 1.2.3 On 1/15/07, Johan Compagner [EMAIL PROTECTED] wrote: because xmlReader == null and then a null pointer is thrown. instead of the original exception that was created somewhere in the construction of xmlReader.. (thats why it is still null) johan On 1/15/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: Why is the exception swallowed? Finally doesnt swallow it. Juergen On 1/15/07, Johan Compagner [EMAIL PROTECTED] wrote: 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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
Re: [Wicket-user] Wicket Exceptions
sounds like the reached limit of open-file issue. Should be solved in the latest versions 1.2 and 2.x versions as far as I know. Juergen On 1/15/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: also, even though the project is being tested on the internet, I am still in development mode (which i suppose is default, if not set at all) . it runs fine on localhost but the behaviour seems to appear once we try accessing the application from the internet. works without errors for a session but seems to throw this errors when other session users try to access it On 1/15/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: version 1.2.3 On 1/15/07, Johan Compagner [EMAIL PROTECTED] wrote: because xmlReader == null and then a null pointer is thrown. instead of the original exception that was created somewhere in the construction of xmlReader.. (thats why it is still null) johan On 1/15/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: Why is the exception swallowed? Finally doesnt swallow it. Juergen On 1/15/07, Johan Compagner [EMAIL PROTECTED] wrote: 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user
Re: [Wicket-user] Wicket Exceptions
also you shouldnt deploy your apps in development mode - that mode is for...development :) -igor On 1/15/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: sounds like the reached limit of open-file issue. Should be solved in the latest versions 1.2 and 2.x versions as far as I know. Juergen On 1/15/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: also, even though the project is being tested on the internet, I am still in development mode (which i suppose is default, if not set at all) . it runs fine on localhost but the behaviour seems to appear once we try accessing the application from the internet. works without errors for a session but seems to throw this errors when other session users try to access it On 1/15/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: version 1.2.3 On 1/15/07, Johan Compagner [EMAIL PROTECTED] wrote: because xmlReader == null and then a null pointer is thrown. instead of the original exception that was created somewhere in the construction of xmlReader.. (thats why it is still null) johan On 1/15/07, Juergen Donnerstag [EMAIL PROTECTED] wrote: Why is the exception swallowed? Finally doesnt swallow it. Juergen On 1/15/07, Johan Compagner [EMAIL PROTECTED] wrote: 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 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