perfsonar-dev - Re: [pS-dev] Web-Admin 0.9.8b is available
Subject: perfsonar development work
List archive
- From: Prodromos Gerakios <>
- To: Stijn Melis <>
- Cc: "" <>, Szymon Trocha <>, Nicolas Simar <>
- Subject: Re: [pS-dev] Web-Admin 0.9.8b is available
- Date: Thu, 23 Oct 2008 16:30:50 +0300
Stijn Melis wrote:
I know what is wrong ... I have implemented a naive xml parser (this was for the section ordering bug , which is not resolved yet) which reads off the key attributes of all "element" elements. As I mentioned this parser is pretty primitive so it does not understand xml comments. Please try removing the commented lines between the properties elements. It should work then.I think that the jdom parser fails and the data structures do not get
populated. As a result you get this error.
------------------------------------------------------------------------Where is the definition of "dependsOn" ? :-) You should either delete
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties [
<!ELEMENT properties ( comment?, property* )>
<!ATTLIST properties version CDATA #FIXED "0.1">
<!ELEMENT comment (#PCDATA) >
<!ELEMENT property (entry,Comment,ProposedValue,Group+,AcceptedValue*) >
<!ELEMENT entry (#PCDATA) >
<!ATTLIST entry
key CDATA #REQUIRED
password (true|false) #IMPLIED
required (true|false) #IMPLIED >
<!ELEMENT Comment (#PCDATA) >
<!ELEMENT ProposedValue (#PCDATA) >
<!ELEMENT Group (#PCDATA) >
<!ATTLIST Group order CDATA #REQUIRED check (true|false) #IMPLIED <!ELEMENT AcceptedValue (#PCDATA) >
]>
dependsOn from
the element attributes or define it in the DTD.
I added dependsOn CDATA #IMPLIED to the DTD, although I find it strange
that this has always worked, and the dependsOn wasn't in the DTD before :s
However, when I try to go to the basic configuration page again after
adding the dependsOn to the DTD and restarting tomcat, I still get an error.
java.lang.NullPointerException
at
perfSONARWebAdmin.auxiliary.wizard.DescendantIterator.hasNext(DescendantIterator.java:133)
at
perfSONARWebAdmin.auxiliary.wizard.WizardProperties.populateProperties(WizardProperties.java:330)
at
perfSONARWebAdmin.auxiliary.wizard.WizardProperties.loadFromXML(WizardProperties.java:188)
at perfSONARWebAdmin.admin.wizard.Wizard.init(Wizard.java:96)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:127)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)
I think it's the same error as before, but now it no longer mentions the
dependsOn attribute.
Regards,
Stijn
I will fix this issue in the next version. Please send me a bug report in case I forget about it.
Sorry for the inconvenience,
Prodromos
- Web-Admin 0.9.7b is available, Prodromos Gerakios, 10/21/2008
- Re: Web-Admin 0.9.7b is available, Nicolas Simar, 10/21/2008
- Re: [pS-dev] Re: Web-Admin 0.9.7b is available, Prodromos Gerakios, 10/21/2008
- Re: [pS-dev] Web-Admin 0.9.7b is available, Stijn Melis, 10/21/2008
- Web-Admin 0.9.8b is available, Prodromos Gerakios, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Stijn Melis, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Prodromos Gerakios, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Stijn Melis, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Prodromos Gerakios, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Stijn Melis, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Prodromos Gerakios, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Stijn Melis, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Prodromos Gerakios, 10/23/2008
- Re: [pS-dev] Web-Admin 0.9.8b is available, Stijn Melis, 10/23/2008
- Re: Web-Admin 0.9.7b is available, Nicolas Simar, 10/21/2008
Archive powered by MHonArc 2.6.16.