openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #01152
[Bug 244731] Re: StackOverFlow with Kea TestKea.java
I have downloaded the utility and confirmed the provided test works OK
with 6b12-0ubuntu6:
jem@fawkes:~/t/kea-5.0_full$ java -version
java version "1.6.0_0"
IcedTea6 1.3.1 (6b12-0ubuntu6) Runtime Environment (build 1.6.0_0-b12)
OpenJDK Client VM (build 1.6.0_0-b12, mixed mode, sharing)
jem@fawkes:~/t/kea-5.0_full$ javac -cp lib/commons-
logging.jar:lib/icu4j_3_4.jar:lib/iri.jar:lib/jena.jar:lib/kea-5.0.jar:lib/snowball.jar:lib/weka.jar:lib/xercesImpl.jar
TestKea.java
jem@fawkes:~/t/kea-5.0_full$ java -Xmx512M -cp lib/commons-logging.jar:lib/icu4j_3_4.jar:lib/iri.jar:lib/jena.jar:lib/kea-5.0.jar:lib/snowball.jar:lib/weka.jar:lib/xercesImpl.jar:. TestKea
Creating the model...
-- Loading the Index...
-- Building the Vocabulary index from SKOS file
-- Reading the Documents...
Extracting keyphrases from test documents...
-- Loading the Index...
-- Building the Vocabulary index from SKOS file
-- Extracting Keyphrases...
Avg. number of matching keyphrases compared to existing ones : 8.8 +/- 0.84
Based on 5 documents
Look into testdocs/en/test to see the results
and compare them to testdocs/en/test/manual_keyphrases/.
--
StackOverFlow with Kea TestKea.java
https://bugs.launchpad.net/bugs/244731
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.
Status in “openjdk-6” source package in Ubuntu: Incomplete
Bug description:
Hardy Heron - 8.04
If you download the Kea, an opensource keyphrase extractor (http://www.nzdl.org/Kea/download.html), and run the TestKea.java class you get the exception below. If you use a Sun JVM rather than Openjdk-6, you won't get an exception.
Creating the model...
-- Loading the Index...
-- Building the Vocabulary index from SKOS file
-- Reading the Documents...
Exception in thread "main" java.lang.StackOverflowError
at java.io.ObjectOutputStream.access$500(ObjectOutputStream.java:160)
at java.io.ObjectOutputStream$BlockDataOutputStream.writeDoubles(ObjectOutputStream.java:2101)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1323)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1163)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
References