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

[MOA] NullPointerException using OpenmlTaskEvaluator #173

Closed
DraXus opened this issue Feb 15, 2015 · 2 comments
Closed

[MOA] NullPointerException using OpenmlTaskEvaluator #173

DraXus opened this issue Feb 15, 2015 · 2 comments

Comments

@DraXus
Copy link
Collaborator

DraXus commented Feb 15, 2015

I got the following error when running tasks in MOA (last version from OpenML website).

I tried different tasks and configurations:
openml.OpenmlDataStreamClassification -t 2177 -e openml.OpenmlTaskEvaluator
openml.OpenmlDataStreamClassification -l functions.NoChange -t 2172 -e openml.OpenmlTaskEvaluator

Failure reason: null
*** STACK TRACE ***java.lang.NullPointerException
    at java.util.Arrays$ArrayList.<init>(Arrays.java:2842)
    at java.util.Arrays.asList(Arrays.java:2828)
    at moa.evaluation.LearningEvaluation.<init>(LearningEvaluation.java:53)
    at moa.tasks.openml.OpenmlDataStreamClassification.doMainTask(OpenmlDataStreamClassification.java:175)
    at moa.tasks.MainTask.doTaskImpl(MainTask.java:50)
    at moa.tasks.AbstractTask.doTask(AbstractTask.java:57)
    at moa.tasks.TaskThread.run(TaskThread.java:76)

In addition, the console log output looks fine without errors:

[15-02-2015 18:11:27] [OK] [Authenticate] Authentication successfull. 
[15-02-2015 18:11:28] [INFO] [ARFF Cache] Stored dataset dataset_4_labor.arff to cache. 
[15-02-2015 18:11:28] [OK] [Download] Obtained Stream Header. 

However, it works if BasicClassificationPerformanceEvaluator is selected instead.

@joaquinvanschoren
Copy link
Contributor

Apiconnector has been upgraded several times. PLease check if this is still an issue (or close) :).

@joaquinvanschoren
Copy link
Contributor

This issue was moved to openml/openml-java#16

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

2 participants