Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhelpful error message when constraint blocks all configurations #18

Open
GoogleCodeExporter opened this issue May 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a Constraint such that isValid() always returns false for the given 
configurations.  Trivially: public boolean isValid(Map<String, Object> 
aConfiguration) { return false; }
2. Attach this constraint to a ParameterSpace.
3. Attach the ParameterSpace to a BatchTask with a report.
4. Run the BatchTask.

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

See the attached file dkprolab.log for example logging output.  The error 
message rather cryptically complains about a missing file.  Instead it would 
have been helpful for there to be some message that no configurations passed 
the constraint.


What version of the product are you using? On what operating system?
0.8.0 on GNU/Linux

Please provide any additional information below.

I will try producing and submitting a minimal example later.

Original issue reported on code.google.com by [email protected] on 10 Aug 2012 at 12:59

Attachments:

@GoogleCodeExporter
Copy link
Author

Hm, I'm not sure if this is due to a problematic constraint. The folder the 
report is looking in for the METADATA.txt is 
"/home/miller/opt/dkpro/de.tudarmstadt.ukp.dkpro.lab/repository/METADATA.txt". 
This is the root repository folder. It should be looking in a context folder 
like 
"/home/miller/opt/dkpro/de.tudarmstadt.ukp.dkpro.lab/repository/XXXXX/METADATA.t
xt" where "XXXXX" is a context id.

I didn't try a test case yet, but I'd suspect a bug in the report.

Original comment by richard.eckart on 3 Apr 2013 at 10:11

@reckart reckart added bug and removed Type-Defect labels Jul 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants