version: v9.1p_2014-11-24/Pro Deployment (built 2014-11-24)
I just upgraded to latest nightly, and our reports code, which has been static for like 2 years, broke.
We have a method to manually set group headers in a grouped grid. like in the code below. The TreeNode method GetIsGroupSummary() now throws a NullPointer. The node is not null (we've debugged), it's something inside the node code that throws the exception.
Our method:
Some ideas on how to proceed would be appreciated.
Edit: ran it with try-catch around just to get some text out in deployed mode:
(TypeError) line: 2589 column: 128 sourceURL: http://localhost:8080/xxx/E3FC7492BA...510.cache.html __gwt$exception: : null is not an object (evaluating 'oVb(d.j,'isGroupSummary',true).b') ; com.google.gwt.core.client.JavaScriptException: (TypeError) line: 2589 column: 128 sourceURL: http://localhost:8080/xxx/E3FC7492BA...510.cache.html __gwt$exception: : null is not an object (evaluating 'oVb(d.j,'isGroupSummary',true).b')
I just upgraded to latest nightly, and our reports code, which has been static for like 2 years, broke.
We have a method to manually set group headers in a grouped grid. like in the code below. The TreeNode method GetIsGroupSummary() now throws a NullPointer. The node is not null (we've debugged), it's something inside the node code that throws the exception.
Our method:
Code:
private String findGroupSummaryField(Tree tree, TreeNode parent, String attribute) { for (TreeNode node : tree.getChildren(parent)) { if (node.getIsGroupSummary()) { <<<< NULLPOINTER return node.getAttribute(attribute); } } return null; }
Edit: ran it with try-catch around just to get some text out in deployed mode:
(TypeError) line: 2589 column: 128 sourceURL: http://localhost:8080/xxx/E3FC7492BA...510.cache.html __gwt$exception: : null is not an object (evaluating 'oVb(d.j,'isGroupSummary',true).b') ; com.google.gwt.core.client.JavaScriptException: (TypeError) line: 2589 column: 128 sourceURL: http://localhost:8080/xxx/E3FC7492BA...510.cache.html __gwt$exception: : null is not an object (evaluating 'oVb(d.j,'isGroupSummary',true).b')
Comment