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

NullpointerExceptions in dataset processing when target cannot be found. #21

Open
joaquinvanschoren opened this issue Dec 23, 2018 · 0 comments

Comments

@joaquinvanschoren
Copy link
Contributor

Some datasets fail during processing. They all fail with a NullpointerException that occurs while setting the target feature.

Checking the datasets (uploaded by Guillaume), they have a feature such as:
@Attribute "Is Public Domain" {True, False}
while in the database this is stored as 'Is_Public_Domain'.
I assume the underscores are added during dataset upload.

What is more troubling is that there seems to be no trace of this error. The message says that the error is marked in the database but I could not find it. I assume it tries to store an error message but that fails, too?

[23-12-2018 23:23:43] [OK] [Process Dataset] Processing dataset 41249 - obtaining features.
java.lang.NullPointerException
	at weka.core.Instances.setClass(Instances.java:1532)
	at org.openml.webapplication.features.ExtractFeatures.getFeatures(ExtractFeatures.java:42)
	at org.openml.webapplication.ProcessDataset.process(ProcessDataset.java:65)
	at org.openml.webapplication.ProcessDataset.<init>(ProcessDataset.java:41)
	at org.openml.webapplication.Main.main(Main.java:120)
[23-12-2018 23:23:43] [Error] [Process Dataset] Error while processing dataset. Marking this in database.
[23-12-2018 23:23:43] [Error] [Process Dataset] Dataset 41249 - Error: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant