W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > March 2011

problems with the latest source code

From: Matteo Bertamini <matteo.bertamini@studenti.unitn.it>
Date: Mon, 21 Mar 2011 16:56:41 +0000
Message-ID: <AANLkTimfF00=xp8F+340aeiydoWQy2o90R8pC_rTaiuW@mail.gmail.com>
To: public-mobileok-checker@w3.org
Heya folks,
I'm using this library for some tasks I'm working on Accessible project (
http://www.accessible-eu.org/) and  I downloaded the latest version through
CVS, I created a netbeans project by following the (dated) guide and I tried
to launch a test but I always obtain this error:


run:
Info: Writing result document to resultados2.xml
Mar 21, 2011 4:56:13 PM edu.harvard.hul.ois.jhove.ModuleBase <init>
INFO: Initializing UTF8-hul
Mar 21, 2011 4:56:13 PM edu.harvard.hul.ois.jhove.ModuleBase initParse
INFO: UTF8-hul called initParse
Cannot find CatalogManager.properties
Exception in thread "main" mobok.org.w3c.mwi.mobileok.basic.TestException:
One or more exceptions were caught while processing the resources:
mobok.org.w3c.mwi.mobileok.basic.TestException:
java.net.MalformedURLException: no protocol: %
mobok.org.w3c.mwi.mobileok.basic.XhtmlContent.validateMobile(XhtmlContent.java:904)
mobok.org.w3c.mwi.mobileok.basic.XhtmlContent.<init>(XhtmlContent.java:212)
mobok.org.w3c.mwi.mobileok.basic.MobileOKDecodedContentFactory.decodeContent(MobileOKDecodedContentFactory.java:62)
mobok.org.w3c.mwi.mobileok.basic.Resource.decode(Resource.java:237)
mobok.org.w3c.mwi.mobileok.basic.Preprocessor.processResource(Preprocessor.java:475)
mobok.org.w3c.mwi.mobileok.basic.Preprocessor.access$000(Preprocessor.java:33)
mobok.org.w3c.mwi.mobileok.basic.Preprocessor$2.run(Preprocessor.java:513)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
java.lang.Thread.run(Thread.java:662)


        at
mobok.org.w3c.mwi.mobileok.basic.Preprocessor.preprocess(Preprocessor.java:420)
        at
mobok.org.w3c.mwi.mobileok.basic.Tester.getPreprocessorResults(Tester.java:140)
        at mobok.org.w3c.mwi.mobileok.basic.Tester.main(Tester.java:397)
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)

I really can't understand this output: where CatalogManager.properties
should be? It's in the working directory with its dtd directory! And also: I
can't understand the "no protocol" error. Unfortunately, I used to have a
former version of the code, and it used to work perfectly! May someone can
help me? How could I fetch older versions of the code? What's happening?

Thanks in advance for your precious help,
Matteo
Received on Monday, 21 March 2011 16:57:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 21 March 2011 16:57:36 GMT