NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 834 - exception while running the command python build/build.py all
exception while running the command python build/build.py all
Status: RESOLVED NOTREPRODUCIBLE
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-13 11:32 CEST by sulakshana
Modified: 2015-03-31 03:23 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sulakshana 2011-05-13 11:32:23 CEST
Hello,
I was successful in installing validator.nu on windows 2 days back. But today when i tried to install it again on  suse linux and another windows machine i am getting some Exception. How to solve this??????????
 
"jar" cf ".\validator\dist\validator.jar" @temp-jar-list
"java" -classpath .\dependencies\commons-codec-1.3/commons-codec-1.3.jar;.\depen
dencies\commons-httpclient-3.1/commons-httpclient-3.1.jar;.\dependencies\commons
-logging-1.1.1/commons-logging-1.1.1.jar;.\dependencies\commons-logging-1.1.1/co
mmons-logging-adapters-1.1.1.jar;.\dependencies\commons-logging-1.1.1/commons-lo
gging-api-1.1.1.jar;.\dependencies\icu4j-charsets-4_4_2.jar;.\dependencies\icu4j
-4_4_2.jar;.\dependencies\iri-0.5/lib/iri.jar;.\dependencies\jetty-6.1.26/lib/se
rvlet-api-2.5-20081211.jar;.\dependencies\jetty-6.1.26/lib/jetty-6.1.26.jar;.\de
pendencies\jetty-6.1.26/lib/jetty-util-6.1.26.jar;.\dependencies\jetty-6.1.26/li
b/ext/jetty-ajp-6.1.26.jar;.\dependencies\apache-log4j-1.2.15/log4j-1.2.15.jar;.
\dependencies\rhino1_7R1/js.jar;.\dependencies\xerces-2_9_1/xercesImpl.jar;.\dep
endencies\xerces-2_9_1/xml-apis.jar;.\dependencies\slf4j-1.5.2/slf4j-log4j12-1.5
.2.jar;.\dependencies\commons-fileupload-1.2.1/lib/commons-fileupload-1.2.1.jar;
.\dependencies\isorelax.jar;.\dependencies\mozilla/intl/chardet/java/dist/lib/ch
ardet.jar;.\dependencies\saxon9.jar;.\dependencies\jsontools-core-1.5.jar;.\depe
ndencies\antlr.jar;.\dependencies\xom-1.1.jar;.\dependencies\junit-4.4.jar;.\dep
endencies\apache-ant-1.7.0/lib/ant.jar;.\dependencies\apache-ant-1.7.0/lib/ant-l
auncher.jar;.\jars\non-schema.jar;.\jars\io-xml-util.jar;.\jars\htmlparser.jar;.
\jars\hs-aelfred2.jar;.\jars\html5-datatypes.jar;.\jars\test-harness.jar;jing-tr
ang\build\jing.jar org.whattf.syntax.Driver
Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.whattf.datatype.Html5DatatypeLibrary.createDatatype(Html5Datatype
Library.java:138)
        at org.whattf.datatype.Html5DatatypeLibrary.createDatatypeBuilder(Html5D
atatypeLibrary.java:52)
        at com.thaiopensource.relaxng.impl.SchemaBuilderImpl.makeDataPatternBuil
der(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.DataExpr(Unkno
wn Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.PrimaryExpr(Un
known Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.AnnotatedPrima
ryExpr(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.UnaryExpr(Unkn
own Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.Expr(Unknown S
ource)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.Define(Unknown
 Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.Definition(Unk
nown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.GrammarCompone
nt(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.GrammarBody(Un
known Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.IncludedGramma
r(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.parseInclude(U
nknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactParseable.parseAsIncl
ude(Unknown Source)
        at com.thaiopensource.relaxng.impl.SchemaBuilderImpl$IncludeImpl.endIncl
ude(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.Include(Unknow
n Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.GrammarCompone
nt(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.GrammarBody(Un
known Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.TopLevelGramma
r(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.Input(Unknown
Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.parse(Unknown
Source)
        at com.thaiopensource.relaxng.parse.compact.CompactParseable.parse(Unkno
wn Source)
        at com.thaiopensource.relaxng.impl.SchemaBuilderImpl.parse(Unknown Sourc
e)
        at com.thaiopensource.relaxng.impl.SchemaReaderImpl.createSchema(Unknown
 Source)
        at com.thaiopensource.validate.AbstractSchemaReader.createSchema(Unknown
 Source)
        at org.whattf.syntax.Driver.schemaByFilename(Driver.java:122)
        at org.whattf.syntax.Driver.checkDirectory(Driver.java:202)
        at org.whattf.syntax.Driver.check(Driver.java:264)
        at org.whattf.syntax.Driver.main(Driver.java:296)
Caused by: java.lang.RuntimeException: java.net.UnknownHostException: www.iana.o
rg
        at org.whattf.datatype.Charset.<clinit>(Charset.java:50)
        ... 30 more
Caused by: java.net.UnknownHostException: www.iana.org
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at java.net.URL.openStream(Unknown Source)
        at org.whattf.datatype.data.CharsetData.<init>(CharsetData.java:59)
        at org.whattf.datatype.Charset.<clinit>(Charset.java:46)
        ... 30 more
java -XX:-DontCompileHugeMethods -Xms131072k -Xmx131072k -XX:ThreadStackSize=204
8 -classpath .\dependencies\commons-codec-1.3/commons-codec-1.3.jar;.\dependenci
es\commons-httpclient-3.1/commons-httpclient-3.1.jar;.\dependencies\commons-logg
ing-1.1.1/commons-logging-1.1.1.jar;.\dependencies\commons-logging-1.1.1/commons
-logging-adapters-1.1.1.jar;.\dependencies\commons-logging-1.1.1/commons-logging
-api-1.1.1.jar;.\dependencies\icu4j-charsets-4_4_2.jar;.\dependencies\icu4j-4_4_
2.jar;.\dependencies\iri-0.5/lib/iri.jar;.\dependencies\jetty-6.1.26/lib/servlet
-api-2.5-20081211.jar;.\dependencies\jetty-6.1.26/lib/jetty-6.1.26.jar;.\depende
ncies\jetty-6.1.26/lib/jetty-util-6.1.26.jar;.\dependencies\jetty-6.1.26/lib/ext
/jetty-ajp-6.1.26.jar;.\dependencies\apache-log4j-1.2.15/log4j-1.2.15.jar;.\depe
ndencies\rhino1_7R1/js.jar;.\dependencies\xerces-2_9_1/xercesImpl.jar;.\dependen
cies\xerces-2_9_1/xml-apis.jar;.\dependencies\slf4j-1.5.2/slf4j-log4j12-1.5.2.ja
r;.\dependencies\commons-fileupload-1.2.1/lib/commons-fileupload-1.2.1.jar;.\dep
endencies\isorelax.jar;.\dependencies\mozilla/intl/chardet/java/dist/lib/chardet
.jar;.\dependencies\saxon9.jar;.\jars\non-schema.jar;.\jars\io-xml-util.jar;.\ja
rs\htmlparser.jar;.\jars\hs-aelfred2.jar;.\jars\html5-datatypes.jar;.\jars\valid
ator.jar;jing-trang\build\jing.jar -Dnu.validator.servlet.log4j-properties=valid
ator/log4j.properties -Dnu.validator.servlet.version=3 -Dnu.validator.servlet.se
rvice-name=Validator.nu -Dorg.whattf.datatype.lang-registry=http://www.iana.org/
assignments/language-subtag-registry -Dorg.whattf.datatype.charset-registry=http
://www.iana.org/assignments/character-sets -Dorg.whattf.datatype.warn=true -Dnu.
validator.servlet.about-page=http://about.validator.nu/ -Dnu.validator.servlet.s
tyle-sheet=http://about.validator.nu/style.css -Dnu.validator.servlet.icon=http:
//about.validator.nu/icon.png -Dnu.validator.servlet.script=http://about.validat
or.nu/script.js -Dnu.validator.spec.microsyntax-descriptions=http://wiki.whatwg.
org/wiki/MicrosyntaxDescriptions -Dnu.validator.spec.alt-advice=http://wiki.what
wg.org/wiki/Validator.nu_alt_advice -Dnu.validator.spec.html5-load=file:validato
r/spec/html5.html -Dnu.validator.spec.html5-link=http://www.whatwg.org/specs/web
-apps/current-work/ -Dnu.validator.servlet.max-file-size=5242880 -Dnu.validator.
servlet.connection-timeout=5000 -Dnu.validator.servlet.socket-timeout=5000 -Dorg
.mortbay.http.HttpRequest.maxFormContentSize=5242880 -Dnu.validator.servlet.host
.generic= -Dnu.validator.servlet.host.html5= -Dnu.validator.servlet.host.parsetr
ee= -Dnu.validator.servlet.path.generic=/ -Dnu.validator.servlet.path.html5=/htm
l5/ -Dnu.validator.servlet.path.parsetree=/parsetree/ nu.validator.servlet.Main
8888
2011-05-13 11:51:00.338:INFO::Logging to STDERR via org.mortbay.log.StdErrLog
nu.validator.servlet.VerifierServletTransaction - Starting static initializer.
nu.validator.servlet.VerifierServletTransaction - Starting to loop over config f
ile lines.
nu.validator.servlet.VerifierServletTransaction - Finished reading config.
nu.validator.servlet.VerifierServletTransaction - Converted config to arrays.
nu.validator.servlet.VerifierServletTransaction - Prepared namespace array.
nu.validator.servlet.VerifierServletTransaction - Parsed doctype numbers into in
ts.
nu.validator.servlet.VerifierServletTransaction - The cache path prefix is: null

nu.validator.servlet.VerifierServletTransaction - Parsing set up. Starting to re
ad schemas.
nu.validator.servlet.VerifierServletTransaction - Will load schema: http://s.val
idator.nu/html5/html5full.rnc
Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.whattf.datatype.Html5DatatypeLibrary.createDatatype(Html5Datatype
Library.java:138)
        at org.whattf.datatype.Html5DatatypeLibrary.createDatatypeBuilder(Html5D
atatypeLibrary.java:52)
        at com.thaiopensource.relaxng.impl.SchemaBuilderImpl.makeDataPatternBuil
der(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.DataExpr(Unkno
wn Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.PrimaryExpr(Un
known Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.AnnotatedPrima
ryExpr(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.UnaryExpr(Unkn
own Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.Expr(Unknown S
ource)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.Define(Unknown
 Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.Definition(Unk
nown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.GrammarCompone
nt(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.GrammarBody(Un
known Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.IncludedGramma
r(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.parseInclude(U
nknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactParseable.parseAsIncl
ude(Unknown Source)
        at com.thaiopensource.relaxng.impl.SchemaBuilderImpl$IncludeImpl.endIncl
ude(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.Include(Unknow
n Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.GrammarCompone
nt(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.GrammarBody(Un
known Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.TopLevelGramma
r(Unknown Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.Input(Unknown
Source)
        at com.thaiopensource.relaxng.parse.compact.CompactSyntax.parse(Unknown
Source)
        at com.thaiopensource.relaxng.parse.compact.CompactParseable.parse(Unkno
wn Source)
        at com.thaiopensource.relaxng.impl.SchemaBuilderImpl.parse(Unknown Sourc
e)
        at com.thaiopensource.relaxng.impl.SchemaReaderImpl.createSchema(Unknown
 Source)
        at com.thaiopensource.validate.AbstractSchemaReader.createSchema(Unknown
 Source)
        at nu.validator.servlet.VerifierServletTransaction.schemaByUrl(VerifierS
ervletTransaction.java:1259)
        at nu.validator.servlet.VerifierServletTransaction.<clinit>(VerifierServ
letTransaction.java:453)
        at nu.validator.servlet.VerifierServlet.<clinit>(VerifierServlet.java:87
)
        at nu.validator.servlet.Main.main(Main.java:89)
Caused by: java.lang.RuntimeException: java.net.UnknownHostException: www.iana.o
rg
        at org.whattf.datatype.Charset.<clinit>(Charset.java:50)
        ... 30 more
Caused by: java.net.UnknownHostException: www.iana.org
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at java.net.URL.openStream(Unknown Source)
        at org.whattf.datatype.data.CharsetData.<init>(CharsetData.java:59)
        at org.whattf.datatype.Charset.<clinit>(Charset.java:46)
        ... 30 more
Command failed.
Comment 1 Michael[tm] Smith 2015-03-31 03:23:26 CEST
I can't reproduce this. If you still see this problem, please reopen.