Announcement

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

    Uncaught JavaScript exception

    hi

    i'm just out of ideas, how to solve the problem...
    i'm using a listgrid, where i can select "group by ..." on a column header menu
    if i do select the "group by ..." item, i get an error logged in the eclipse console:
    Uncaught JavaScript exception [uncaught exception: java.lang.NullPointerException] in , line 0

    i just can not figure out, where it does come from, because i can not get the stack trace of that NullPointerException

    i've read the FAQ, und i've tried a lot using the SmartClient Developer Console, but there is not stack trace, it is only one line mentioned in the eclipse console

    there is no trace of any exception in the SmartClient Developer Console

    SmartClient Version: SC_SNAPSHOT-2011-08-08/LGPL Development Only (built 2011-08-08)

    any help would be very appreciated!
    thanks in advance
    andre

    #2
    Are you able to run the application in the eclipse debugger?
    Is there any output in the GWT dev mode console, assuming you're running in dev mode?

    Comment


      #3
      yes, i'm able to run the application in the eclipse debugger, even if in that case it is pretty slow... but it works
      even than i can not see any output like a stack trace, just this line
      Code:
      Uncaught JavaScript exception [uncaught exception: java.lang.NullPointerException] in , line 0
      if i start it from eclipse, where can i find the GWT dev mode console?

      Comment


        #4
        ok, there is a "Development Mode" view in eclipse, right next to the standard "Console" :-)
        but like i said, there is unfortunately nothing like a stack trace
        only the mentioned line is logged to the standard console
        anybody an idea?

        Comment


          #5
          Originally posted by a.reiter
          ok, there is a "Development Mode" view in eclipse, right next to the standard "Console" :-)
          but like i said, there is unfortunately nothing like a stack trace
          only the mentioned line is logged to the standard console
          anybody an idea?
          I'm afraid I can't help you because I have a similar problem: how to get JavaScript stack trace.

          This is my bug report: http://forums.smartclient.com/showthread.php?t=20838. Isomorphic guys responded, but so far, I wasn't able to provide the stack trace.

          I read FAQ, run it in compiled mode, but failed to catch it.

          I know I didn't help you...

          Comment


            #6
            @lado: thanks for your reply

            sounds actually not very promising...

            Comment


              #7
              Originally posted by a.reiter
              @lado: thanks for your reply

              sounds actually not very promising...
              Apparently both of us were doing something wrong, or failed to do something important in the process...

              Comment


                #8
                puh, now i've found the chunk of code, which causes the NPE
                this method is invoked over my own Java Applet, may be that is the reason, why where is no stack trace etc...
                i would guess so

                Comment


                  #9
                  Do you guys get this error only when you're running in Firefox Developmnet Plugin or does it occur even when you're using in other browsers' (IE or Chrome) development plug-ins as well?

                  Comment

                  Working...
                  X