You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stanbol.apache.org by Andreas Fibich <an...@fh-bielefeld.de> on 2014/05/23 11:36:20 UTC

Indexing Error 0.12.1-SNAPSHOT (Bug-1304?)

Hello,

due to the bug Stanbol-1304 i checked out the latest release of Stanbol http://svn.apache.org/viewvc/stanbol/branches/release-0.12/ 

I used the mvn clean install and everything went fine. But indexing my custom vocabulary does not work. 
When i try to initialize the indexing tool with : 

{working-dir}:java -jar org.apache.stanbol.entityhub.indexing.genericrdf-0.12.1-SNAPSHOT.jar init


i get the following Error [1] the 0.12.1-SNAPSHOT was created with clean install. 
So what should i do? With the 0.12.0 version i get Bug-1304 and with the updated one i get this Error.


How can i solve this?


[1] 

11:32:21,135 [main] INFO config.IndexingConfig - Indexing Working Directory: C:
\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner
11:32:21,136 [main] INFO config.IndexingConfig - > config directory C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\config does not exist
11:32:21,154 [main] INFO config.IndexingConfig - - created
11:32:21,154 [main] INFO config.IndexingConfig - > resource folder 'C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\resources does not exist
11:32:21,155 [main] INFO config.IndexingConfig - - created
11:32:21,158 [main] INFO config.IndexingConfig - manually parsed plassPath: /C:/Users/a.fibich/Documents/Repositories/release-0.12/entityhub/indexing/DavidBanner/org.apache.stanbol.entityhub.indexing.genericrdf-0.12.1-SNAPSHOT.jar! from jar:file:/C:/Users/a.fibich/Documents/Repositories/release-0.12/entityhub/indexing/DavidBanner/org.apache.stanbol.entityhub.indexing.genericrdf-0.12.1-SNAPSHOT.jar!/indexing/config/indexing.properties
11:32:21,158 [main] INFO config.IndexingConfig - Classpath Indexing Root C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\org.apache.stanbol.entityhub.indexing.genericrdf-0.12.1-SNAPSHOT.jar
11:32:21,159 [main] INFO config.IndexingConfig - request for Resource namespaceprefix.mappings (folder: C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\config)
11:32:21,306 [main] INFO config.IndexingConfig - > rquested Resource not found
11:32:21,318 [main] INFO config.IndexingConfig - request for Resource indexing.properties (folder: C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\config)
11:32:21,319 [main] INFO config.IndexingConfig - found entry : indexing/config/indexing.properties[dir=false]
11:32:21,322 [main] INFO config.IndexingConfig - > created File C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\config\indexing.properties
11:32:21,322 [main] INFO config.IndexingConfig - > rquested Resource copied from ClasspathException in thread "main" java.lang.NoSuchMethodError: org.apache.commons.io.LineIterator.next()Ljava/lang/String;
 at org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.loadConfig(IndexingConfig.java:660)
 at org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.<init>(IndexingConfig.java:319)
 at org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.<init>(IndexingConfig.java:236)
 at org.apache.stanbol.entityhub.indexing.core.IndexerFactory.create(IndexerFactory.java:99)
 at org.apache.stanbol.entityhub.indexing.core.IndexerFactory.create(IndexerFactory.java:81)
 at org.apache.stanbol.entityhub.indexing.core.IndexerFactory.create(IndexerFactory.java:67)
 at org.apache.stanbol.entityhub.indexing.Main.main(Main.java:68)

Re: Indexing Error 0.12.1-SNAPSHOT (Bug-1304?)

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi Andreas,

I fixed STANBOL-1344 [1] with r1597256 [2]. Can you please try if you
still get the java.lang.NoSuchMethodError after those changes.

best
Rupert


> [1] https://issues.apache.org/jira/browse/STANBOL-1344
[2] http://svn.apache.org/r1597256

On Sat, May 24, 2014 at 7:14 AM, Rupert Westenthaler
<ru...@gmail.com> wrote:
> Hi Andreas,
>
> while verifying you problem I found some other issues and created [1]
> for it. However I was not able to reproduce your `NoSuchMethodError`.
> Nonetheless I ask you to try again as soon as I have resolved [1].
>
> best
> Rupert
>
>
> [1] https://issues.apache.org/jira/browse/STANBOL-1344
>
> On Fri, May 23, 2014 at 11:36 AM, Andreas Fibich
> <an...@fh-bielefeld.de> wrote:
>> Hello,
>>
>> due to the bug Stanbol-1304 i checked out the latest release of Stanbol http://svn.apache.org/viewvc/stanbol/branches/release-0.12/
>>
>> I used the mvn clean install and everything went fine. But indexing my custom vocabulary does not work.
>> When i try to initialize the indexing tool with :
>>
>> {working-dir}:java -jar org.apache.stanbol.entityhub.indexing.genericrdf-0.12.1-SNAPSHOT.jar init
>>
>>
>> i get the following Error [1] the 0.12.1-SNAPSHOT was created with clean install.
>> So what should i do? With the 0.12.0 version i get Bug-1304 and with the updated one i get this Error.
>>
>>
>> How can i solve this?
>>
>>
>> [1]
>>
>> 11:32:21,135 [main] INFO config.IndexingConfig - Indexing Working Directory: C:
>> \Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner
>> 11:32:21,136 [main] INFO config.IndexingConfig - > config directory C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\config does not exist
>> 11:32:21,154 [main] INFO config.IndexingConfig - - created
>> 11:32:21,154 [main] INFO config.IndexingConfig - > resource folder 'C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\resources does not exist
>> 11:32:21,155 [main] INFO config.IndexingConfig - - created
>> 11:32:21,158 [main] INFO config.IndexingConfig - manually parsed plassPath: /C:/Users/a.fibich/Documents/Repositories/release-0.12/entityhub/indexing/DavidBanner/org.apache.stanbol.entityhub.indexing.genericrdf-0.12.1-SNAPSHOT.jar! from jar:file:/C:/Users/a.fibich/Documents/Repositories/release-0.12/entityhub/indexing/DavidBanner/org.apache.stanbol.entityhub.indexing.genericrdf-0.12.1-SNAPSHOT.jar!/indexing/config/indexing.properties
>> 11:32:21,158 [main] INFO config.IndexingConfig - Classpath Indexing Root C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\org.apache.stanbol.entityhub.indexing.genericrdf-0.12.1-SNAPSHOT.jar
>> 11:32:21,159 [main] INFO config.IndexingConfig - request for Resource namespaceprefix.mappings (folder: C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\config)
>> 11:32:21,306 [main] INFO config.IndexingConfig - > rquested Resource not found
>> 11:32:21,318 [main] INFO config.IndexingConfig - request for Resource indexing.properties (folder: C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\config)
>> 11:32:21,319 [main] INFO config.IndexingConfig - found entry : indexing/config/indexing.properties[dir=false]
>> 11:32:21,322 [main] INFO config.IndexingConfig - > created File C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\config\indexing.properties
>> 11:32:21,322 [main] INFO config.IndexingConfig - > rquested Resource copied from ClasspathException in thread "main" java.lang.NoSuchMethodError: org.apache.commons.io.LineIterator.next()Ljava/lang/String;
>>  at org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.loadConfig(IndexingConfig.java:660)
>>  at org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.<init>(IndexingConfig.java:319)
>>  at org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.<init>(IndexingConfig.java:236)
>>  at org.apache.stanbol.entityhub.indexing.core.IndexerFactory.create(IndexerFactory.java:99)
>>  at org.apache.stanbol.entityhub.indexing.core.IndexerFactory.create(IndexerFactory.java:81)
>>  at org.apache.stanbol.entityhub.indexing.core.IndexerFactory.create(IndexerFactory.java:67)
>>  at org.apache.stanbol.entityhub.indexing.Main.main(Main.java:68)
>
>
>
> --
> | Rupert Westenthaler             rupert.westenthaler@gmail.com
> | Bodenlehenstraße 11                              ++43-699-11108907
> | A-5500 Bischofshofen
> | REDLINK.CO ..........................................................................
> | http://redlink.co/



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                              ++43-699-11108907
| A-5500 Bischofshofen
| REDLINK.CO ..........................................................................
| http://redlink.co/

Re: Indexing Error 0.12.1-SNAPSHOT (Bug-1304?)

Posted by Rupert Westenthaler <ru...@gmail.com>.
Hi Andreas,

while verifying you problem I found some other issues and created [1]
for it. However I was not able to reproduce your `NoSuchMethodError`.
Nonetheless I ask you to try again as soon as I have resolved [1].

best
Rupert


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

On Fri, May 23, 2014 at 11:36 AM, Andreas Fibich
<an...@fh-bielefeld.de> wrote:
> Hello,
>
> due to the bug Stanbol-1304 i checked out the latest release of Stanbol http://svn.apache.org/viewvc/stanbol/branches/release-0.12/
>
> I used the mvn clean install and everything went fine. But indexing my custom vocabulary does not work.
> When i try to initialize the indexing tool with :
>
> {working-dir}:java -jar org.apache.stanbol.entityhub.indexing.genericrdf-0.12.1-SNAPSHOT.jar init
>
>
> i get the following Error [1] the 0.12.1-SNAPSHOT was created with clean install.
> So what should i do? With the 0.12.0 version i get Bug-1304 and with the updated one i get this Error.
>
>
> How can i solve this?
>
>
> [1]
>
> 11:32:21,135 [main] INFO config.IndexingConfig - Indexing Working Directory: C:
> \Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner
> 11:32:21,136 [main] INFO config.IndexingConfig - > config directory C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\config does not exist
> 11:32:21,154 [main] INFO config.IndexingConfig - - created
> 11:32:21,154 [main] INFO config.IndexingConfig - > resource folder 'C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\resources does not exist
> 11:32:21,155 [main] INFO config.IndexingConfig - - created
> 11:32:21,158 [main] INFO config.IndexingConfig - manually parsed plassPath: /C:/Users/a.fibich/Documents/Repositories/release-0.12/entityhub/indexing/DavidBanner/org.apache.stanbol.entityhub.indexing.genericrdf-0.12.1-SNAPSHOT.jar! from jar:file:/C:/Users/a.fibich/Documents/Repositories/release-0.12/entityhub/indexing/DavidBanner/org.apache.stanbol.entityhub.indexing.genericrdf-0.12.1-SNAPSHOT.jar!/indexing/config/indexing.properties
> 11:32:21,158 [main] INFO config.IndexingConfig - Classpath Indexing Root C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\org.apache.stanbol.entityhub.indexing.genericrdf-0.12.1-SNAPSHOT.jar
> 11:32:21,159 [main] INFO config.IndexingConfig - request for Resource namespaceprefix.mappings (folder: C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\config)
> 11:32:21,306 [main] INFO config.IndexingConfig - > rquested Resource not found
> 11:32:21,318 [main] INFO config.IndexingConfig - request for Resource indexing.properties (folder: C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\config)
> 11:32:21,319 [main] INFO config.IndexingConfig - found entry : indexing/config/indexing.properties[dir=false]
> 11:32:21,322 [main] INFO config.IndexingConfig - > created File C:\Users\a.fibich\Documents\Repositories\release-0.12\entityhub\indexing\DavidBanner\indexing\config\indexing.properties
> 11:32:21,322 [main] INFO config.IndexingConfig - > rquested Resource copied from ClasspathException in thread "main" java.lang.NoSuchMethodError: org.apache.commons.io.LineIterator.next()Ljava/lang/String;
>  at org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.loadConfig(IndexingConfig.java:660)
>  at org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.<init>(IndexingConfig.java:319)
>  at org.apache.stanbol.entityhub.indexing.core.config.IndexingConfig.<init>(IndexingConfig.java:236)
>  at org.apache.stanbol.entityhub.indexing.core.IndexerFactory.create(IndexerFactory.java:99)
>  at org.apache.stanbol.entityhub.indexing.core.IndexerFactory.create(IndexerFactory.java:81)
>  at org.apache.stanbol.entityhub.indexing.core.IndexerFactory.create(IndexerFactory.java:67)
>  at org.apache.stanbol.entityhub.indexing.Main.main(Main.java:68)



-- 
| Rupert Westenthaler             rupert.westenthaler@gmail.com
| Bodenlehenstraße 11                              ++43-699-11108907
| A-5500 Bischofshofen
| REDLINK.CO ..........................................................................
| http://redlink.co/