Hi

Apache Stanbol does correctly not work with Java 7 (see STANBOL-608
[1]). This also affects the integration-tests as those need to start a
Stanbol Server for testing

best
Rupert


[1] https://issues.apache.org/jira/browse/STANBOL-608

On Thu, Jun 7, 2012 at 10:31 PM, Sitapati das / Joshua J Wulf
<[email protected]> wrote:
> :-)
>
> Right at the very end, I get this:
>
> 3995 [main] INFO org.apache.stanbol.commons.testing.stanbol.StanbolTestBase
> - Got HttpHostConnectException at http://localhost:8765/ - will retry
> 07.06.2012 23:28:33.944 *ERROR* [main] Unknown host in 'null': radhe:
> radhe: Name or service not known
> 07.06.2012 23:28:33.956 *INFO* [main] Setting sling.home=sling (default)
> 07.06.2012 23:28:33.957 *INFO* [main] Starting Sling in sling
> (/home/jwulf/tools/apache-stanbol-0.9.0-incubating/integration-tests/target/launchdir/sling)
> 07.06.2012 23:28:33.977 *INFO* [main] Checking launcher JAR in folder sling
> 07.06.2012 23:28:34.027 *INFO* [main] Existing launcher is up to date,
> using it: 2.3.0 (org.apache.sling.launchpad.base.jar)
> 07.06.2012 23:28:34.034 *INFO* [main] Loading launcher class
> org.apache.sling.launchpad.base.app.MainDelegate from
> org.apache.sling.launchpad.base.jar
> 07.06.2012 23:28:34.066 *INFO* [main] Starting launcher ...
> 07.06.2012 23:28:34.078 *INFO* [main] HTTP server port: 8765
> 07.06.2012 23:28:34.203 *ERROR* [main] Failed to Start OSGi framework
> org.osgi.framework.BundleException: Uncaught Instantiation Issue:
> java.lang.ArrayIndexOutOfBoundsException: -1
>    at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:245)
>    at
> org.apache.sling.launchpad.base.app.MainDelegate$1.<init>(MainDelegate.java:159)
>    at
> org.apache.sling.launchpad.base.app.MainDelegate.start(MainDelegate.java:159)
>    at org.apache.sling.launchpad.app.Main.startSling(Main.java:244)
>    at org.apache.sling.launchpad.app.Main.<init>(Main.java:107)
>    at org.apache.sling.launchpad.app.Main.main(Main.java:56)
> Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
>    at java.util.ArrayList.elementData(ArrayList.java:371)
>    at java.util.ArrayList.get(ArrayList.java:384)
>    at
> org.apache.felix.framework.BundleImpl.getCurrentModule(BundleImpl.java:1046)
>    at
> org.apache.felix.framework.BundleImpl.getSymbolicName(BundleImpl.java:863)
>    at
> org.apache.sling.launchpad.base.impl.SlingFelix.getSymbolicName(SlingFelix.java:32)
>    at org.apache.felix.framework.Felix.toString(Felix.java:1012)
>    at org.apache.felix.framework.Logger.doLog(Logger.java:128)
>    at org.apache.felix.framework.Logger._log(Logger.java:181)
>    at org.apache.felix.framework.Logger.log(Logger.java:114)
>    at
> org.apache.felix.framework.ExtensionManager.<init>(ExtensionManager.java:201)
>    at org.apache.felix.framework.Felix.<init>(Felix.java:374)
>    at
> org.apache.sling.launchpad.base.impl.SlingFelix.<init>(SlingFelix.java:39)
>    at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:235)
>    ... 5 more
> 07.06.2012 23:28:34.220 *ERROR* [main] There was a problem launching Sling
> 07.06.2012 23:28:34.221 *INFO* [Sling Terminator] Java VM is shutting down
> 6715 [Thread-0] INFO org.apache.stanbol.commons.testing.jarexec.JarExecutor
> - Process execution complete, exit code=0
> 7197 [main] INFO org.apache.stanbol.commons.testing.stanbol.StanbolTestBase
> - Got HttpHostConnectException at http://localhost:8765/ - will retry
>
> So it is actually building, it just won't start by the look of it.
>
> Any ideas?
>
>
>
> On Thu, Jun 7, 2012 at 1:17 PM, Alessandro Adamou <[email protected]>wrote:
>
>> On 6/6/12 11:50 PM, Fabian Christ wrote:
>>
>>> 2012/6/6 Sitapati das / Joshua J 
>>> Wulf<sitapati@worldsankirtan.**net<[email protected]>
>>> >:
>>>
>>>> Please release it, because God knows I can't get 0.90 to build. It can't
>>>> be
>>>> worse than that, and it might be better.
>>>>
>>> If you would provide a more specific description of your problem,
>>> people might be able to help.
>>>
>>
>> Right. What problem are you having exactly? Currently I am having a
>> failing CELI engine test, is that it?
>>
>> ------------------------------**------------------------------**
>> -------------------
>> Test set: org.apache.stanbol.enhancer.**engines.celi.ner.impl.**
>> CeliNamedEntityExtractionEnhan**cementEngineTest
>> ------------------------------**------------------------------**
>> -------------------
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.935 sec
>> <<< FAILURE!
>> tesetEngine(org.apache.**stanbol.enhancer.engines.celi.**ner.impl.**
>> CeliNamedEntityExtractionEnhan**cementEngineTest)  Time elapsed: 0.934
>> sec <<< ERROR!
>> org.apache.stanbol.enhancer.**servicesapi.EngineException: Error wile
>> encoding/decoding the request/response to the CELI NER (Named Entity
>> Recognition) service!
>>    at org.apache.stanbol.enhancer.**engines.celi.ner.impl.**
>> CeliNamedEntityExtractionEnhan**cementEngine.**computeEnhancements(**
>> CeliNamedEntityExtractionEnhan**cementEngine.java:288)
>>    at org.apache.stanbol.enhancer.**engines.celi.ner.impl.**
>> CeliNamedEntityExtractionEnhan**cementEngineTest.testInput(**
>> CeliNamedEntityExtractionEnhan**cementEngineTest.java:100)
>>    at org.apache.stanbol.enhancer.**engines.celi.ner.impl.**
>> CeliNamedEntityExtractionEnhan**cementEngineTest.tesetEngine(**
>> CeliNamedEntityExtractionEnhan**cementEngineTest.java:125)
>>    at sun.reflect.**NativeMethodAccessorImpl.**invoke0(Native Method)
>>    at sun.reflect.**NativeMethodAccessorImpl.**invoke(**
>> NativeMethodAccessorImpl.java:**39)
>>    at sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
>> DelegatingMethodAccessorImpl.**java:25)
>>    at java.lang.reflect.Method.**invoke(Method.java:597)
>>
>>
>>
>> --
>> M.Sc. Alessandro Adamou
>>
>> Alma Mater Studiorum - Università di Bologna
>> Department of Computer Science
>> Mura Anteo Zamboni 7, 40127 Bologna - Italy
>>
>> Semantic Technology Laboratory (STLab)
>> Institute for Cognitive Science and Technology (ISTC)
>> National Research Council (CNR)
>> Via Nomentana 56, 00161 Rome - Italy
>>
>>
>> "I will give you everything, just don't demand anything."
>> (Ettore Petrolini, 1917)
>>
>> Not sent from my iSnobTechDevice
>>
>>



-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to