Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    But @Canvas.animateResize(Integer, Integer, AnimationCallback)

    Hi, I found a bug in your sourcecode. The method animateResize (Integer, Integer, AnimationCallback) in class Canvas(line 4611) calls the Method animateResize(Integer,Integer, AnimationCallback, int, AnimationAcceleration).

    Because the fourth argument is missing you hardcast null to Integer. This throws always a NullPointerException. Pls fix.

    Workaround: If you need the Callback use the animateResize-Method with five parameters and set duration to a default value like 200.

    #2
    Please provide your exact version, and indicate the actual file you are talking about (Canvas.java)?

    Comment


      #3
      SmartGWT-Version: 4.1

      Yep. Canvas.java

      Comment


        #4
        Can please provide the complete version you're using, including the date stamp?

        Comment


          #5
          4.1p

          Date unknown. Where can i find it?

          Comment


            #6
            Evaluate isc.version in the Developer Console

            Comment


              #7
              v9.0_2013-07-03/LGPL Development Only

              Comment


                #8
                That's a 4.0 build, not 4.1. And it's very old.

                The first thing to do is to figure out which version you should be using and update to the latest patched build of that version - smartclient.com/builds

                Comment


                  #9
                  Thx for ur help.

                  Comment

                  Working...
                  X