nmadhire / jwpl

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

TimeMachine crashes with Classcast exception #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As reported by user:

I'm trying to use the config file below to import a small subset of
the latest (English) Wikipedia dump into TimeMachine.  However, for
some reason I can't determine (I've tried debugging a bit),
TimeMachine tries to cast its generator object to a DataMachine and is
unable to do so.  I'm running
de.tudarmstadt.ukp.wikipedia.timemachine.domain.JWPLTimeMachine
through Eclipse and I get the following output:

09:57:13,204  INFO XmlBeanDefinitionReader:315 - Loading XML bean
definitions from class path resource [context/applicationContext.xml]
09:57:13,592  INFO Log4jLogger:21 - parsing configuration file....
09:57:13,611  INFO Log4jLogger:21 - processing data ...
09:57:13,640  INFO Log4jLogger:21 -
de.tudarmstadt.ukp.wikipedia.timemachine.domain.TimeMachineFiles
cannot be cast to
de.tudarmstadt.ukp.wikipedia.datamachine.domain.DataMachineFiles

de.tudarmstadt.ukp.wikipedia.datamachine.domain.DataMachineGenerator.setFiles(Da
taMachineGenerator.java:
49)
de.tudarmstadt.ukp.wikipedia.timemachine.domain.JWPLTimeMachine.main(JWPLTimeMac
hine.java:
77)

Have I configured something wrong?

Original issue reported on code.google.com by torsten....@gmail.com on 10 Aug 2011 at 2:30

GoogleCodeExporter commented 9 years ago
Fixed a bug in the applicationContext.xml

Seems to run now.

Original comment by torsten....@gmail.com on 10 Aug 2011 at 2:52

GoogleCodeExporter commented 9 years ago
Seems not to be fixed.
Here's a new bug report from a user using TimeMachine 0.7.2
http://groups.google.com/group/jwpl/browse_thread/thread/cf76a37c74462b0a

Running it all on Mac OS Lion.

Here's my log file:

"Date/Time","Total Memory","Free Memory","Message"
"2011.08.25 14:46:22","85000192","73463184","parsing configuration
file...."
"2011.08.25 14:46:22","85000192","73106320","processing data ..."
"2011.08.25
14:46:22","85000192","72408504","de.tudarmstadt.ukp.wikipedia.timemachine.domain
.TimeMachineFiles
cannot be cast to
de.tudarmstadt.ukp.wikipedia.datamachine.domain.DataMachineFiles

de.tudarmstadt.ukp.wikipedia.datamachine.domain.DataMachineGenerator.setFiles(Da
taMachineGenerator.java:
49)
de.tudarmstadt.ukp.wikipedia.timemachine.domain.JWPLTimeMachine.main(JWPLTimeMac
hine.java:
77)" 

Original comment by oliver.ferschke on 25 Aug 2011 at 10:17

GoogleCodeExporter commented 9 years ago

Original comment by oliver.ferschke on 20 Feb 2012 at 10:31