robotoworks / mechanoid

Eclipse plugin providing a set of DSL's for the rapid development of Android apps
58 stars 26 forks source link

NPE when using operationExecutor.isOk() #249

Closed Rosomack closed 9 years ago

Rosomack commented 10 years ago

Line 103:

public boolean isOk() {
    return isComplete() && getResult().isOk();
}

getResult() may return null, I think if the op hasn't been started yet, in which case it throws a NPE.

Rosomack commented 10 years ago

Forgot to mention, this is in the OperationExecutor class.

Rosomack commented 9 years ago

This has been fixed with pull request #250