nijogeorgep / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

NullPointerException on Animations #719

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Use any animate method with AnimationCallback but without duration parameter

What version of the product are you using? On what operating system?
SmartGWT 4.0. Windows 7 x64, but is not related to OS.

What browser(s) does this happen in?  Are there any browsers where the
issue does not occur?
All browser. Is neither related to browser.

Just updated to 4.0 and found a bug in the animations:

public void animateMove(Integer left, Integer top, AnimationCallback callback){
    animateMove(left,top,callback,(Integer) null,null);
}

public native void animateMove(Integer left, Integer top, AnimationCallback 
callback, int duration, AnimationAcceleration acceleration);

The first method calls the second passing a null to an int parameter, causing 
an inevitable NullPointerException.

Original issue reported on code.google.com by esigna...@gmail.com on 20 Aug 2013 at 10:06

GoogleCodeExporter commented 8 years ago
This is a recent regression. We've made a change to address this issue. Please 
try the next nightly build dated Aug 23 or above

Original comment by smartgwt...@gmail.com on 22 Aug 2013 at 10:31