rajdeokumarsingh / slug-semweb-crawler

Automatically exported from code.google.com/p/slug-semweb-crawler
Other
0 stars 0 forks source link

InstanciationException when running slug.sh #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. in the ldodds-slug-0833d67 directory i did : ant to build)
2.  slug.sh -config etc/config.rdf -id default -plan etc/sample-plan.rdf
3.

What is the expected output? What do you see instead?

here is what i get :
Exception in thread "Thread-3" java.lang.RuntimeException: 
java.lang.InstantiationException
    at com.ldodds.slug.Scutter.run(Scutter.java:159)
    at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.InstantiationException
    at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at com.ldodds.slug.framework.config.ComponentFactory.instantiateObject(ComponentFactory.java:74)
    at com.ldodds.slug.framework.config.ComponentFactory.instantiate(ComponentFactory.java:54)
    at com.ldodds.slug.framework.config.ComponentFactory.instantiate(ComponentFactory.java:128)
    at com.ldodds.slug.framework.config.ComponentFactory.instantiateComponentsFor(ComponentFactory.java:159)
    at com.ldodds.slug.Scutter.run(Scutter.java:122)
    ... 1 more
java.lang.RuntimeException: java.io.FileNotFoundException: /tmp/slug/memory.rdf 
(No such file or directory)
    at com.ldodds.slug.framework.config.FileMemory.save(FileMemory.java:63)
    at com.ldodds.slug.Scutter.save(Scutter.java:222)
    at com.ldodds.slug.Scutter$1.run(Scutter.java:270)
Caused by: java.io.FileNotFoundException: /tmp/slug/memory.rdf (No such file or 
directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:84)
    at com.ldodds.slug.framework.config.FileMemory.save(FileMemory.java:61)

What version of the product are you using? On what operating system?
version=0.3-RC1

Please provide any additional information below.

Original issue reported on code.google.com by chetim...@gmail.com on 11 Sep 2011 at 11:44