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

Cannot enable debug mode #60

Closed
bgooren opened this issue Dec 2, 2011 · 1 comment
Closed

Cannot enable debug mode #60

bgooren opened this issue Dec 2, 2011 · 1 comment
Milestone

Comments

@bgooren
Copy link

bgooren commented Dec 2, 2011

When I enable debug mode by setting the necessary system property, Scalr bails out due to a NullPointerException.

This is caused by line 148 in Scalr.java:

static {
    log(0, null, "Debug output ENABLED");
}

Since the second param (message) is null, the call to System.out.printf(message, params) throws an exception.
It looks like that line should read

log(0, "Debug output ENABLED");

anyway...

ghost pushed a commit that referenced this issue Dec 2, 2011
@ghost
Copy link

ghost commented Dec 2, 2011

Frustrating mistake; sorry about that.

Prepping a 4.1 release right now to fix this.

@ghost ghost closed this as completed Dec 2, 2011
This issue was closed.
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