hassanLOULOU / text2onto

Automatically exported from code.google.com/p/text2onto
0 stars 0 forks source link

it always shows the the error message of unknown source as descirpted below #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

oading settings from file D:\ontology\text2onto/text2onto.properties

Preprocessor.init
Using d:\ontology\gate as GATE home
Using d:\ontology\gate\plugins as installed plug-ins directory.
Using d:\ontology\gate\gate.xml as site configuration file.
Using C:\Documents and Settings\Mohsen Servati\gate.xml as user configuration 
file
Using C:\Documents and Settings\Mohsen Servati\gate.session as user session file

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at org.ontoware.text2onto.gui.Text2Onto.reset(Unknown Source)
        at org.ontoware.text2onto.gui.Text2Onto.<init>(Unknown Source)
        at org.ontoware.text2onto.gui.Text2Onto.createAndShowGUI(Unknown Source)

        at org.ontoware.text2onto.gui.Text2Onto.access$000(Unknown Source)
        at org.ontoware.text2onto.gui.Text2Onto$1.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Original issue reported on code.google.com by servati....@gmail.com on 10 Jun 2010 at 10:46

GoogleCodeExporter commented 9 years ago
The same for me! Any Ideas?

Original comment by ursrep...@gmail.com on 6 Aug 2010 at 7:15

GoogleCodeExporter commented 9 years ago
same for me as well... any solutions?

Original comment by mrdivaka...@gmail.com on 17 Sep 2010 at 6:22

GoogleCodeExporter commented 9 years ago
hi, any solutions? i am getting the same error! :-( 

I'm running it on windows xp.

Original comment by gsiddar...@gmail.com on 19 May 2011 at 10:35

GoogleCodeExporter commented 9 years ago
I had the same problem and fixed it by altering the 2nd line in the 
text2onto.properties file:

The definition of the gate directory needs to be completed with a slash (/)
gate_dir=<text2onto_dir>/3rdparty/gate/

e.g: C:/text2onto/3rdparty/gate/

If not doing so, the stopwords.txt file cannot be found, as the folder 

<text2onto_dir>\3rdparty\gateenglish

is searched instead of

<text2onto_dir>\3rdparty\gate\english

Hope this helps

Original comment by Alexande...@gmail.com on 26 Sep 2011 at 2:20

GoogleCodeExporter commented 9 years ago
thanks Alexande, changing the slashes really helped.its now working

Original comment by motswi...@gmail.com on 21 May 2012 at 2:56