Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Should fix NullPointerException in #5

  • Loading branch information...
commit 7fba7004b8f646db7b52266e8c1f387f9023e77e 1 parent ea2f863
Joey Mink walknwind authored
3  org.mongodb.meclipse/src/org/mongodb/meclipse/editors/MeclipseEditor.java
View
@@ -113,7 +113,8 @@ public void createExpander(final ExpandBar bar, Map o) {
Label keyLabel = new Label(composite, SWT.NONE);
keyLabel.setText(key.toString());
Label valueLabel = new Label(composite, SWT.WRAP);
- valueLabel.setText(o.get(key).toString());
+ Object value = o.get(key);
+ valueLabel.setText(String.valueOf(value));
}
expandItem.setText(o.get("_id").toString());
Please sign in to comment.
Something went wrong with that request. Please try again.