qwaider / heideltime

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

HeidelTimeStandalone default constructor is missing #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Good afternoon,

I notice, that the default constructor of HeidelTimeStandalone doesn't exist. 
So if you want to invoke the class dynamically it produces an error: 
java.lang.InstantiationException.

You just need to add
public HeidelTimeStandalone() {     
    }

in HeidelTimeStandalone to avoid that

ps: is a new release planned soon? last one was in may.

Original issue reported on code.google.com by damien.p...@gmail.com on 11 Dec 2012 at 1:07

GoogleCodeExporter commented 9 years ago
Dear Damien,

Thank you for your hint. A new release is planned quite soon. If you want to 
get a notification, you can register here:
http://dbs.ifi.uni-heidelberg.de/index.php?id=form-downloads

Thank you,
Jannik

Original comment by jannik.s...@gmail.com on 4 Jan 2013 at 10:16

GoogleCodeExporter commented 9 years ago
Hi Damien,

I know it's been a while, but I've moved some code around and pushed a change 
in redbe1dc3e593 that adds an empty constructor so you can instantiate 
HeidelTimeStandalone using e.g. reflection.
Please make sure to supply the values required for initialization (same as the 
old constructor) using the new HeidelTimeStandalone.initialize() method.

Kind Regards,
Julian

Original comment by j.z...@stud.uni-heidelberg.de on 20 Mar 2013 at 2:52

GoogleCodeExporter commented 9 years ago

Original comment by j.z...@stud.uni-heidelberg.de on 18 Apr 2013 at 10:11