Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing after installation failures #70

Closed
GoogleCodeExporter opened this issue Mar 16, 2015 · 37 comments
Closed

Testing after installation failures #70

GoogleCodeExporter opened this issue Mar 16, 2015 · 37 comments

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

What steps will reproduce the problem?
I´m installing Ontopia according to \doc\install.html.

If I tries run test I´ll got errors.

The output from the test run:
Ontopia Topic Maps Engine 5.0.0 (2009-07-09 10:15 by grove)
Success: All required classes found.
Running tests
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
...........................F..............
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
...........................0 [main] ERROR 
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator  - Error in 
actions config file: java.lang.NullPointerException at: null:1:-1
F.15 [main] ERROR 
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator  - Error in 
actions config file: java.lang.NullPointerException at: null:1:-1
E.31 [main] ERROR 
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator  - Error in 
actions config file: java.lang.NullPointerException at: null:1:-1
E.31 [main] ERROR 
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator  - Error in 
actions config file: java.lang.NullPointerException at: null:1:-1
E.31 [main] ERROR 
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator  - Error in 
actions config file: java.lang.NullPointerException at: null:1:-1
E..46 [main] ERROR 
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator  - Error in 
actions config file: java.lang.NullPointerException at: null:1:-1
E.46 [main] ERROR 
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator  - Error in 
actions config file: java.lang.NullPointerException at: null:1:-1
E.78 [main] ERROR 
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator  - Error in 
actions config file: java.lang.NullPointerException at: null:1:-1
......
.........................................
.........................................
.........................................
.........................................
.........................................
.........................................
.......................E.....E.....E....E....
................
Time: 39,53
There were 10 errors:
1) testImageInformation
(net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest)
java.lang.NullPointerException
    at 
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.testI
mageInformation(ActionConfigContentHandlerTest.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at net.ontopia.test.TestRunner.run(TestRunner.java:125)
    at net.ontopia.test.TestRunner.main(TestRunner.java:60)
2) testFieldInformation
(net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest)
java.lang.NullPointerException
    at 
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.testF
ieldInformation(ActionConfigContentHandlerTest.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at net.ontopia.test.TestRunner.run(TestRunner.java:125)
    at net.ontopia.test.TestRunner.main(TestRunner.java:60)
3) testDefaultForwardPage
(net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest)
java.lang.NullPointerException
    at 
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.testD
efaultForwardPage(ActionConfigContentHandlerTest.java:83)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at net.ontopia.test.TestRunner.run(TestRunner.java:125)
    at net.ontopia.test.TestRunner.main(TestRunner.java:60)
4) testLockedForwardPage
(net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest)
java.lang.NullPointerException
    at 
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.testL
ockedForwardPage(ActionConfigContentHandlerTest.java:89)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at net.ontopia.test.TestRunner.run(TestRunner.java:125)
    at net.ontopia.test.TestRunner.main(TestRunner.java:60)
5) testGetActionAvail
(net.ontopia.topicmaps.webed.utils.test.ActionUtilsTest)
net.ontopia.utils.OntopiaRuntimeException: No action registry found; 
please check your actions.xml file
    at net.ontopia.topicmaps.webed.impl.utils.ActionUtils.getAction
(ActionUtils.java:24)
    at 
net.ontopia.topicmaps.webed.utils.test.ActionUtilsTest.testGetActionAvail
(ActionUtilsTest.java:46)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at net.ontopia.test.TestRunner.run(TestRunner.java:125)
    at net.ontopia.test.TestRunner.main(TestRunner.java:60)
6) testGetActionFailWrongName
(net.ontopia.topicmaps.webed.utils.test.ActionUtilsTest)
net.ontopia.utils.OntopiaRuntimeException: No action registry found; 
please check your actions.xml file
    at net.ontopia.topicmaps.webed.impl.utils.ActionUtils.getAction
(ActionUtils.java:24)
    at 
net.ontopia.topicmaps.webed.utils.test.ActionUtilsTest.testGetActionFailWro
ngName(ActionUtilsTest.java:57)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at net.ontopia.test.TestRunner.run(TestRunner.java:125)
    at net.ontopia.test.TestRunner.main(TestRunner.java:60)
7) testFile
(net.ontopia.topicmaps.db2tm.test.DB2TMTestGenerator$RescanTestCase)
java.io.IOException: Couldn't delete file 'C:\ontopia-5.0.0\tests\test-
data\db2tm\in\rescan\1-1-rows.csv'.
    at net.ontopia.utils.FileUtils.deleteFile(FileUtils.java:41)
    at 
net.ontopia.topicmaps.db2tm.test.DB2TMTestGenerator$RescanTestCase.testFile
(DB2TMTestGenerator.java:215)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at net.ontopia.test.TestRunner.run(TestRunner.java:125)
    at net.ontopia.test.TestRunner.main(TestRunner.java:60)
8) testFile
(net.ontopia.topicmaps.db2tm.test.DB2TMTestGenerator$RescanTestCase)
java.io.IOException: Couldn't delete file 'C:\ontopia-5.0.0\tests\test-
data\db2tm\in\rescan\1-m-occurrence.csv'.
    at net.ontopia.utils.FileUtils.deleteFile(FileUtils.java:41)
    at 
net.ontopia.topicmaps.db2tm.test.DB2TMTestGenerator$RescanTestCase.testFile
(DB2TMTestGenerator.java:215)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at net.ontopia.test.TestRunner.run(TestRunner.java:125)
    at net.ontopia.test.TestRunner.main(TestRunner.java:60)
9) testFile
(net.ontopia.topicmaps.db2tm.test.DB2TMTestGenerator$RescanTestCase)
java.io.IOException: Couldn't delete file 'C:\ontopia-5.0.0\tests\test-
data\db2tm\in\rescan\1-1.csv'.
    at net.ontopia.utils.FileUtils.deleteFile(FileUtils.java:41)
    at 
net.ontopia.topicmaps.db2tm.test.DB2TMTestGenerator$RescanTestCase.testFile
(DB2TMTestGenerator.java:215)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at net.ontopia.test.TestRunner.run(TestRunner.java:125)
    at net.ontopia.test.TestRunner.main(TestRunner.java:60)
10) testFile
(net.ontopia.topicmaps.db2tm.test.DB2TMTestGenerator$RescanTestCase)
java.io.IOException: Couldn't delete file 'C:\ontopia-5.0.0\tests\test-
data\db2tm\in\rescan\bug2000.csv'.
    at net.ontopia.utils.FileUtils.deleteFile(FileUtils.java:41)
    at 
net.ontopia.topicmaps.db2tm.test.DB2TMTestGenerator$RescanTestCase.testFile
(DB2TMTestGenerator.java:215)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at net.ontopia.test.TestRunner.run(TestRunner.java:125)
    at net.ontopia.test.TestRunner.main(TestRunner.java:60)
There were 2 failures:
1) testJSP  file: externalFunction.jsp with topicmap: 
opera.xtmjunit.framework.AssertionFailedError: Result from the JSP file is 
not the same as baseline. [C:\ontopia-5.0.0\tests\test-data\nav2
\baseline\opera.xtm-externalFunction-tm=opera.xtm-id=puccini.res]
    at net.ontopia.test.AbstractOntopiaTestCase.assertTrue
(AbstractOntopiaTestCase.java:31)
    at 
net.ontopia.topicmaps.nav2.impl.framework.test.TaglibTestCase.evaluate
(TaglibTestCase.java:151)
    at 
net.ontopia.topicmaps.nav2.impl.framework.test.TaglibTestCase.testJSP
(TaglibTestCase.java:86)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at net.ontopia.test.TestRunner.run(TestRunner.java:125)
    at net.ontopia.test.TestRunner.main(TestRunner.java:60)
2) testReadIn
(net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest)
junit.framework.AssertionFailedError: Could not read in XML specification 
of action configuration
    at net.ontopia.test.AbstractOntopiaTestCase.assertTrue
(AbstractOntopiaTestCase.java:31)
    at 
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.testR
eadIn(ActionConfigContentHandlerTest.java:48)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at net.ontopia.test.TestRunner.run(TestRunner.java:125)
    at net.ontopia.test.TestRunner.main(TestRunner.java:60)

FAILURES!!!
Tests run: 2558,  Failures: 2,  Errors: 10

Asserts: 109760

My entire CLASSPATH when you ran the tests:
./;C:\Program Files\Java\jdk1.5.0_06\lib\;c:\jar\joone-
editor.jar;c:\jar\joone-engine.jar;c:\jar\jhotdraw.jar;c:\jar\junit.jar; 
c:\jar\log4j.jar; C:\apache-ant-1.7.0;C:\gwt_1_5_2;C:\ontopia-5.0.0
\lib\ontopia.jar;C:\ontopia-5.0.0\doc\rdbms\mysql-connector-java-5.0.4-
bin.jar;C:\ontopia-5.0.0\apache-tomcat\common\lib\servlet-
api.jar;C:\ontopia-5.0.0\apache-tomcat\common\lib\jsp-api.jar;C:\ontopia-
5.0.0\apache-tomcat\common\lib\standard.jar;;C:\ontopia-5.0.0\apache-
tomcat\common\lib\jstl.jar;C:\ontopia-5.0.0\lib\ontopia-tests.jar

What platform I ran the test on:
WXP SP2

The output from the command java -version:
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)

Output from the command java net.ontopia.Ontopia:
Ontopia Topic Maps Engine 5.0.0 (2009-07-09 10:15 by grove)
Success: All required classes found.

Thanks for help.


Original issue reported on code.google.com by daw...@gmail.com on 9 Jul 2009 at 8:27

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

I have the same problem. Previous versions b1 and b2 worked like a charm. This
probably causes I can not run application server. Moreover this version needs
CATALINA_HOME variable defined. 

...
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: C:\ontopia-5.0.0\apache-tomcat"
-Dcatalina.home=C:\ontopia-5.0.0\apache-tomcat"\logs\catalina.2009-07-10.log 
(Název
souboru, adresáře nebo jmenovka svazku je nesprávná)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileWriter.<init>(Unknown Source)
    at org.apache.juli.FileHandler.open(FileHandler.java:259)
    at org.apache.juli.FileHandler.<init>(FileHandler.java:59)
    at org.apache.juli.FileHandler.<init>(FileHandler.java:50)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at
org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.ja
va:396)
    at
org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.ja
va:341)
    at
org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.ja
va:237)

Original comment by ladislav...@gmail.com on 10 Jul 2009 at 12:29

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Ontopia requires Java 1.5. Seems like you are building Ontopia with Java 1.6.

Original comment by baard...@gmail.com on 10 Jul 2009 at 8:55

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

OK, I was success with JRE 1.5.0_18 to run the application server. Test still 
fails.
The file ontopia-5.0.0/doc/install.html should be updated, not SDK version 1.5 
or
newer, JRE 1.5 is OK. CATALINA_HOME variable must be defined (set
CATALINA_HOME=C:\ontopia-5.0.0\apache-tomcat), not mentioned in install.html.

BTW, according to http://java.sun.com/javase/downloads/index_jdk5.jsp Java 1.5 
is
almost dead: J2SE 5.0 is in its Java Technology End of Life (EOL) transition 
period.
The EOL transition period began April 8th, 2008 and will complete October 30th, 
2009,
when J2SE 5.0 will have reached its End of Service Life (EOSL).

Original comment by ladislav...@gmail.com on 10 Jul 2009 at 4:33

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

The problem is that the test can't find the webed registry. The cause of that 
may be 
that the webed framework starts a thread to read the registry, and that the 
code 
continues on without waiting for the registry to have actually been read by the 
other thread.

It works fine here (MacOS), but Windows threading may be different.

Revision 303 (r303) may fix this. It would be great if someone who has observed 
this 
problem could build from the source in Subversion and retest to see what the 
result 
is now. Some failures are likely to remain, but the number should be reduced.

Original comment by lar...@gmail.com on 14 Jul 2009 at 10:48

  • Changed state: Accepted
  • Added labels: Component-Tests
@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Ladislav: you have a different problem. The test failures are not the reason 
why you 
cannot run the application server. Please either report a new issue with 
details 
about the failure to run the application server, or post to the mailing list, 
and we 
should be able to help you.

Original comment by lar...@gmail.com on 14 Jul 2009 at 11:52

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Revision 318 has fixed an issue with too many open files, which could be the 
cause 
of this issue. Those of you who have seen these problems: please retest.

Original comment by lar...@gmail.com on 16 Jul 2009 at 8:18

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Status is that errors 8, 9, and 10 are solved. The rest remain.

Original comment by lar...@gmail.com on 16 Jul 2009 at 1:16

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

One user hitting this issue reports seeing the following output from Ivy:

[ivy:resolve] WARNING: problem while setting JAXP validating property
on SAXParser... XML validation will not be done: Property:
http://java.sun.com/xml/jaxp/properties/schemaLanguage

The tracebacks are also different:

    [java] There were 7 errors:
    [java] 1) testReadIn
(net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest)
net.ontopia.utils.OntopiaRuntimeException:
java.lang.NullPointerException
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:187)
    [java]     at
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.setUp
(ActionConfigContentHandlerTest.java:42)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)
    [java] Caused by: java.lang.NullPointerException
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:524)
    [java]     at org.apache.crimson.parser.Parser2.parse
(Parser2.java:305)
    [java]     at org.apache.crimson.parser.XMLReaderImpl.parse
(XMLReaderImpl.java:442)
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:175)
    [java]     ... 13 more
    [java] Caused by: java.lang.NullPointerException
    [java]     at java.io.File.<init>(File.java:194)
    [java]     at
org.apache.crimson.parser.InputEntity.convertToFileURL
(InputEntity.java:168)
    [java]     at org.apache.crimson.parser.InputEntity.init
(InputEntity.java:204)
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:471)
    [java]     ... 16 more
    [java] Caused by:
    [java] java.lang.NullPointerException
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:524)
    [java]     at org.apache.crimson.parser.Parser2.parse
(Parser2.java:305)
    [java]     at org.apache.crimson.parser.XMLReaderImpl.parse
(XMLReaderImpl.java:442)
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:175)
    [java]     at
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.setUp
(ActionConfigContentHandlerTest.java:42)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)
    [java] Caused by: java.lang.NullPointerException
    [java]     at java.io.File.<init>(File.java:194)
    [java]     at
org.apache.crimson.parser.InputEntity.convertToFileURL
(InputEntity.java:168)
    [java]     at org.apache.crimson.parser.InputEntity.init
(InputEntity.java:204)
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:471)
    [java]     ... 16 more
    [java] 2) testImageInformation
(net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest)
net.ontopia.utils.OntopiaRuntimeException:
java.lang.NullPointerException
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:187)
    [java]     at
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.setUp
(ActionConfigContentHandlerTest.java:42)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)
    [java] Caused by: java.lang.NullPointerException
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:524)
    [java]     at org.apache.crimson.parser.Parser2.parse
(Parser2.java:305)
    [java]     at org.apache.crimson.parser.XMLReaderImpl.parse
(XMLReaderImpl.java:442)
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:175)
    [java]     ... 13 more
    [java] Caused by: java.lang.NullPointerException
    [java]     at java.io.File.<init>(File.java:194)
    [java]     at
org.apache.crimson.parser.InputEntity.convertToFileURL
(InputEntity.java:168)
    [java]     at org.apache.crimson.parser.InputEntity.init
(InputEntity.java:204)
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:471)
    [java]     ... 16 more
    [java] Caused by:
    [java] java.lang.NullPointerException
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:524)
    [java]     at org.apache.crimson.parser.Parser2.parse
(Parser2.java:305)
    [java]     at org.apache.crimson.parser.XMLReaderImpl.parse
(XMLReaderImpl.java:442)
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:175)
    [java]     at
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.setUp
(ActionConfigContentHandlerTest.java:42)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)
    [java] Caused by: java.lang.NullPointerException
    [java]     at java.io.File.<init>(File.java:194)
    [java]     at
org.apache.crimson.parser.InputEntity.convertToFileURL
(InputEntity.java:168)
    [java]     at org.apache.crimson.parser.InputEntity.init
(InputEntity.java:204)
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:471)
    [java]     ... 16 more
    [java] 3) testFieldInformation
(net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest)
net.ontopia.utils.OntopiaRuntimeException:
java.lang.NullPointerException
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:187)
    [java]     at
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.setUp
(ActionConfigContentHandlerTest.java:42)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)
    [java] Caused by: java.lang.NullPointerException
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:524)
    [java]     at org.apache.crimson.parser.Parser2.parse
(Parser2.java:305)
    [java]     at org.apache.crimson.parser.XMLReaderImpl.parse
(XMLReaderImpl.java:442)
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:175)
    [java]     ... 13 more
    [java] Caused by: java.lang.NullPointerException
    [java]     at java.io.File.<init>(File.java:194)
    [java]     at
org.apache.crimson.parser.InputEntity.convertToFileURL
(InputEntity.java:168)
    [java]     at org.apache.crimson.parser.InputEntity.init
(InputEntity.java:204)
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:471)
    [java]     ... 16 more
    [java] Caused by:
    [java] java.lang.NullPointerException
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:524)
    [java]     at org.apache.crimson.parser.Parser2.parse
(Parser2.java:305)
    [java]     at org.apache.crimson.parser.XMLReaderImpl.parse
(XMLReaderImpl.java:442)
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:175)
    [java]     at
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.setUp
(ActionConfigContentHandlerTest.java:42)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)
    [java] Caused by: java.lang.NullPointerException
    [java]     at java.io.File.<init>(File.java:194)
    [java]     at
org.apache.crimson.parser.InputEntity.convertToFileURL
(InputEntity.java:168)
    [java]     at org.apache.crimson.parser.InputEntity.init
(InputEntity.java:204)
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:471)
    [java]     ... 16 more
    [java] 4) testDefaultForwardPage
(net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest)
net.ontopia.utils.OntopiaRuntimeException:
java.lang.NullPointerException
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:187)
    [java]     at
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.setUp
(ActionConfigContentHandlerTest.java:42)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)
    [java] Caused by: java.lang.NullPointerException
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:524)
    [java]     at org.apache.crimson.parser.Parser2.parse
(Parser2.java:305)
    [java]     at org.apache.crimson.parser.XMLReaderImpl.parse
(XMLReaderImpl.java:442)
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:175)
    [java]     ... 13 more
    [java] Caused by: java.lang.NullPointerException
    [java]     at java.io.File.<init>(File.java:194)
    [java]     at
org.apache.crimson.parser.InputEntity.convertToFileURL
(InputEntity.java:168)
    [java]     at org.apache.crimson.parser.InputEntity.init
(InputEntity.java:204)
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:471)
    [java]     ... 16 more
    [java] Caused by:
    [java] java.lang.NullPointerException
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:524)
    [java]     at org.apache.crimson.parser.Parser2.parse
(Parser2.java:305)
    [java]     at org.apache.crimson.parser.XMLReaderImpl.parse
(XMLReaderImpl.java:442)
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:175)
    [java]     at
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.setUp
(ActionConfigContentHandlerTest.java:42)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)
    [java] Caused by: java.lang.NullPointerException
    [java]     at java.io.File.<init>(File.java:194)
    [java]     at
org.apache.crimson.parser.InputEntity.convertToFileURL
(InputEntity.java:168)
    [java]     at org.apache.crimson.parser.InputEntity.init
(InputEntity.java:204)
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:471)
    [java]     ... 16 more
    [java] 5) testLockedForwardPage
(net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest)
net.ontopia.utils.OntopiaRuntimeException:
java.lang.NullPointerException
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:187)
    [java]     at
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.setUp
(ActionConfigContentHandlerTest.java:42)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)
    [java] Caused by: java.lang.NullPointerException
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:524)
    [java]     at org.apache.crimson.parser.Parser2.parse
(Parser2.java:305)
    [java]     at org.apache.crimson.parser.XMLReaderImpl.parse
(XMLReaderImpl.java:442)
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:175)
    [java]     ... 13 more
    [java] Caused by: java.lang.NullPointerException
    [java]     at java.io.File.<init>(File.java:194)
    [java]     at
org.apache.crimson.parser.InputEntity.convertToFileURL
(InputEntity.java:168)
    [java]     at org.apache.crimson.parser.InputEntity.init
(InputEntity.java:204)
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:471)
    [java]     ... 16 more
    [java] Caused by:
    [java] java.lang.NullPointerException
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:524)
    [java]     at org.apache.crimson.parser.Parser2.parse
(Parser2.java:305)
    [java]     at org.apache.crimson.parser.XMLReaderImpl.parse
(XMLReaderImpl.java:442)
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionConfigurator.readRegistryConfigurat
ion
(ActionConfigurator.java:175)
    [java]     at
net.ontopia.topicmaps.webed.utils.test.ActionConfigContentHandlerTest.setUp
(ActionConfigContentHandlerTest.java:42)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)
    [java] Caused by: java.lang.NullPointerException
    [java]     at java.io.File.<init>(File.java:194)
    [java]     at
org.apache.crimson.parser.InputEntity.convertToFileURL
(InputEntity.java:168)
    [java]     at org.apache.crimson.parser.InputEntity.init
(InputEntity.java:204)
    [java]     at org.apache.crimson.parser.Parser2.parseInternal
(Parser2.java:471)
    [java]     ... 16 more
    [java] 6) testGetActionAvail
(net.ontopia.topicmaps.webed.utils.test.ActionUtilsTest)
net.ontopia.utils.OntopiaRuntimeException: No action registry found;
please check your actions.xml file
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionUtils.getAction
(ActionUtils.java:24)
    [java]     at
net.ontopia.topicmaps.webed.utils.test.ActionUtilsTest.testGetActionAvail
(ActionUtilsTest.java:46)
    [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [java]     at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
    [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)
    [java] 7) testGetActionFailWrongName
(net.ontopia.topicmaps.webed.utils.test.ActionUtilsTest)
net.ontopia.utils.OntopiaRuntimeException: No action registry found;
please check your actions.xml file
    [java]     at
net.ontopia.topicmaps.webed.impl.utils.ActionUtils.getAction
(ActionUtils.java:24)
    [java]     at
net.ontopia.topicmaps.webed.utils.test.ActionUtilsTest.testGetActionFailWrongNam
e
(ActionUtilsTest.java:57)
    [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [java]     at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
    [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)
    [java] There was 1 failure:
    [java] 1) testJSP  file: externalFunction.jsp with topicmap:
opera.xtmjunit.framework.AssertionFailedError: Result from the JSP
file is not the same as baseline. [C:\Ontopia\dev\ontopia/src/test-data
\nav2\baseline\opera.
xtm-externalFunction-tm=opera.xtm-id=puccini.res]
    [java]     at net.ontopia.test.AbstractOntopiaTestCase.assertTrue
(AbstractOntopiaTestCase.java:31)
    [java]     at
net.ontopia.topicmaps.nav2.impl.framework.test.TaglibTestCase.evaluate
(TaglibTestCase.java:151)
    [java]     at
net.ontopia.topicmaps.nav2.impl.framework.test.TaglibTestCase.testJSP
(TaglibTestCase.java:86)
    [java]     at sun.reflect.GeneratedMethodAccessor15.invoke
(Unknown Source)
    [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
    [java]     at net.ontopia.test.TestRunner.run(TestRunner.java:
125)
    [java]     at net.ontopia.test.TestRunner.main(TestRunner.java:
60)

Original comment by lar...@gmail.com on 21 Oct 2009 at 6:35

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

The traceback has:

at java.io.File.<init>(File.java:194)
at org.apache.crimson.parser.InputEntity.convertToFileURL(InputEntity.java:168)
at org.apache.crimson.parser.InputEntity.init(InputEntity.java:204)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:471)

If we look at the Crimson 1.1.3 sources we see:

Parser2.java:471:
  in.init (input, null, null, false);
InputEntity.java:204
  // input above is an InputSource, called "in" here
  String systemId = in.getSystemId();
  String urlString = convertToFileURL(systemId);
InputEntity.java:168
  // systemId above called "filename" here
  String path = new File(filename).getAbsolutePath();

In other words, Crimson crashes because the system ID is null. However, 
convertToFileUrl is only called if

  InputStream   bytes = in.getByteStream ();
  if (bytes == null) {

so clearly the InputStream is also null here, and that makes no sense. The 
relevant 
Ontopia code is:

      InputStream istream = getInputStream(realPath, fileName);
      parser.parse(new InputSource(istream));

And, sure enough, the InputSource that we pass in does not have a system ID, 
but it 
does have an input stream, provided by the getInputStream() method. As far as I 
can 
work out from the code the only way this can return null is if there's a file 
reference that points to a non-existent file. Perhaps if the tests are 
misconfigured 
somehow?

Attached a patch that would output some more diagnostics. If someone who sees 
this 
fail could apply it and give us the output that might help us make some 
progress on 
this issue.

Original comment by lar...@gmail.com on 22 Oct 2009 at 8:33

Attachments:

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Has anyone tried this debug patch from larsga yet? I just installed 5.0.2 under
Windows XP Pro and got my usual errors (see attached).  I have not applied the 
patch
because I suspect that things have continued to move on since larsga posted 
this back
in October.  In any case, I want to get involved in getting this issue 
resolved.  I
remember the days when my OKS installation tested with no errors and I want to 
get
back to that ASAP.  Please see my attached file to see the results of my 
installation
test for 5.0.2 on XP Pro.

Kevin

Original comment by train...@illinois.edu on 27 Dec 2009 at 10:40

Attachments:

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Nobody has reported back test results with the patch applied, which is why this 
issue is still open. If we can get test results with the patch I'm hopeful that 
we 
can solve this pretty quickly. So *please* do the test with the patch!

Original comment by lar...@gmail.com on 28 Dec 2009 at 7:58

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

I have attached the test output from a test that I ran today with the larsga 
patch.
Thanks to grove for having built me a distribution that included the patch.  I 
am
still getting up to speed on the full set of testing skills.

Original comment by train...@illinois.edu on 2 Jan 2010 at 6:13

Attachments:

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Unfortunately, the test output is not entirely conclusive.

Does this file exist on your system? C:\Program 
Files\ontopia-5.1.0b1\tests\test-data
\webed\actionConfig.xml

Also, I'll send you a new build with improved test output.

Original comment by lar...@gmail.com on 4 Jan 2010 at 9:26

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

The actionConfig.xml does exist in the \webed directory.  I am attaching a copy 
of
the file.  I will test using the new build and post it soon.

Original comment by train...@illinois.edu on 6 Jan 2010 at 1:41

Attachments:

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

I am attaching the test that I ran this morning with the new build from larsga.

Original comment by train...@illinois.edu on 7 Jan 2010 at 2:10

Attachments:

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

The relevant output of that test is the following:

realpath: /, name: C:\Program Files\ontopia-5.1.0b1\tests\test-data\webed
\actionConfig.xml
class loader: C:\Program 
Files\ontopia-5.1.0b1\tests\test-data\webed\actionConfig.xml
istream: null

It follows from this that new java.io.File("C:\Program 
Files\ontopia-5.1.0b1\tests
\test-data\webed\actionConfig.xml").exists() must return false on your system. 

I really can't understand why that would be. Could you verify again that this 
exact 
path points to a file that exists? Please check every step of the path to make 
200% 
sure. C:\Program Files\ontopia-5.1.0b1\tests\test-data\webed\actionConfig.xml

If it does exist, could you try moving everything to a path that has no spaces 
in it 
and try again there?

Original comment by lar...@gmail.com on 8 Jan 2010 at 8:32

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

I confirmed that there is an actionConfig.xml file at the end of the path 
specified.
I compared the characters in the pathname carefully.

I moved the ONTOPIA_HOME directory to a directory that did not have spaces in 
its
name: c:\dummy.

I retested and got what appear to be the same failure symptoms.  A copy of the 
test
output is attached.

Original comment by train...@illinois.edu on 8 Jan 2010 at 2:29

Attachments:

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Issue 213 has been merged into this issue.

Original comment by lar...@gmail.com on 3 Mar 2010 at 1:50

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Issue 274 has been merged into this issue.

Original comment by lar...@gmail.com on 16 Jul 2010 at 10:44

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

I am also getting the above mentioned error. I have attached the text of the 
error that I am getting. Kindly let me know, what should be the next step for 
me.

Thanks in Advance,
Yogalakshmi

Original comment by yogalaks...@gmail.com on 17 Aug 2010 at 8:41

Attachments:

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Issue 326 has been merged into this issue.

Original comment by lar...@gmail.com on 3 Nov 2010 at 8:09

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Issue 328 has been merged into this issue.

Original comment by lar...@gmail.com on 8 Nov 2010 at 11:18

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

This can't go on. We have to solve this issue.

On reflection, I think the best way to solve it is to remove the web editor 
framework entirely. The framework is not used by anyone that I know of, and we 
don't want people to use it, either, so we might as well remove it. Thoughts on 
that?

Original comment by lar...@gmail.com on 8 Nov 2010 at 11:19

  • Added labels: Priority-High
  • Removed labels: Priority-Medium
@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

I do not mind, in fact I would love to see it go, but I suspect that there 
might be others that do. A compromise is to just remove the tests from the 
distribution. :)

Original comment by indiapaleale@gmail.com on 8 Nov 2010 at 1:13

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Whoa!!!!!! There may be people using the Web Editor Framework.  I created an 
application for Greenwood that combines some custom Web Editor pages, Ontopoly 
instance editor pages, and some menus.  I don't know the status of the 
application.  It may have been replaced by now.

But, my bigger question is, what are we supposed to use instead of the Web 
Editor Framework?  I can't say that I was every a big fan of Web Editor 
Framework.  Is there an alternative other than writing custom Servlets that I 
am just not thinking of?  I will need to create some custom edit pages for the 
application that I am creating here at GSLIS.  I thought that I was going to 
use Web Editor Framework.

Kevin

Original comment by train...@illinois.edu on 8 Nov 2010 at 7:09

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Hi, I am getting similar errors as in comment 8 
(http://code.google.com/p/ontopia/issues/detail?id=70#c8). 

What steps will reproduce the problem?
1. Download ontopia-5.1.2-20101030.zip and check SHA hash
2. Unpack ontopia-5.1.2-20101030.zip with 7-Zip 9.20 to c:\topicmaps\
3. Basedir is c:\topicmaps\ontopia-5.1.2\
4. Install Java 1.5 - jdk-1_5_0_22-windows-i586-p.exe
c:> java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)

5. Set environment variables to:
JAVA_HOME=
C:\Program Files\Java\jdk1.5.0_22

Path=
%JAVA_HOME%\bin;
C:\Program Files\NVIDIA Corporation\PhysX\Common;
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\system32\wbem;
C:\Program Files\Common Files\Acronis\SnapAPI;
c:\Program Files\Python26;
C:\WINDOWS\system32\WindowsPowerShell\v1.0;
C:\LINGO12\;
%sysinternals%

CLASSPATH=
c:\topicmaps\ontopia-5.1.2\lib\ontopia.jar;
c:\topicmaps\ontopia-5.1.2\lib\ontopia-tests.jar;
c:\topicmaps\ontopia-5.1.2\apache-tomcat\common\lib\servlet-api.jar;
c:\topicmaps\ontopia-5.1.2\apache-tomcat\common\lib\jsp-api.jar;
c:\topicmaps\ontopia-5.1.2\apache-tomcat\common\lib\jstl.jar;
c:\topicmaps\ontopia-5.1.2\apache-tomcat\common\lib\standard.jar

ONTOPIA_HOME=
c:\topicmaps\ontopia-5.1.2

6. Run:
c:> java net.ontopia.Ontopia
Ontopia Topic Maps Engine 5.1.2 (2010-10-30 18:06 by geir.gronmo)
Success: All required classes found.

7. Run runtests-ontopia.bat, which gives this result:
FAILURES!!!
Tests run: 3094,  Failures: 2,  Errors: 7

Asserts: 110498
//Full report attached as runtests-ontopia.txt

Original comment by v.ovca...@gmail.com on 15 Feb 2011 at 3:25

Attachments:

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

The maven structure has cleaned up the test cases that are failing. 

As a replacement for the webed framework, we cloud add a JSP tab library that 
executes actions in a transaction. I've made such a tag lib before for 
Morpheus, and we might be able to donate some of the code to Ontopia.

Original comment by qsieb...@gmail.com on 28 May 2011 at 10:44

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Issue 367 has been merged into this issue.

Original comment by qsieb...@gmail.com on 29 May 2011 at 1:42

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Issue 394 has been merged into this issue.

Original comment by qsieb...@gmail.com on 9 Jul 2011 at 2:25

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Issue 400 has been merged into this issue.

Original comment by qsieb...@gmail.com on 4 Aug 2011 at 9:59

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Excuse me, I just found that my post has been merged into this issue.

But after reading it, I'm not sure if this issue has a conclusion of those 
problems.
From these responses above, which step should I do to resolve my problem?

Now I have change the java version to 1.5.0_06 and set CATALINA_HOME variable, 
but the errors are still 7. 
Does that mean I have to apply the "Revision XXX" to replace these java code?
If these codes works, I will try it.

Please reply to my question, thanks.

Original comment by Changrs...@gmail.com on 4 Aug 2011 at 1:44

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

There is no definite solution to this problem yet. You can safely use Ontopia 
without any problems because the test cases that are failing are not likely to 
be encountered in normal use of Ontopia. 

Original comment by qsieb...@gmail.com on 4 Aug 2011 at 2:16

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Thanks for your response! Now I know I can try other new things. :)

Original comment by Changrs...@gmail.com on 4 Aug 2011 at 3:46

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Issue 402 has been merged into this issue.

Original comment by qsieb...@gmail.com on 5 Sep 2011 at 11:12

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

see also issue 403

Original comment by krae...@gmail.com on 12 Sep 2011 at 9:15

@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Closing issue. The maven structure has disabled/fixed the tests that were 
failing but nobody has reported any further issues with the webed framework. 

Original comment by qsieb...@gmail.com on 17 Jul 2013 at 1:26

  • Changed state: Fixed
  • Added labels: Release5.2.3
@GoogleCodeExporter

This comment has been minimized.

Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Mar 16, 2015

Original comment by qsieb...@gmail.com on 1 Aug 2013 at 12:03

  • Added labels: Release5.3.0
  • Removed labels: Release5.2.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.