Nashorn throws "TypeError: Cannot read property "_key" from undefined" on third iteration of box2d.js when running using jsr223 API

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P3
    • None
    • Affects Version/s: 8
    • Component/s: core-libs
    • None

      When box2d.js of octane suite is run multiple iterations (10) on nashorn, nashorn throws TypeError on third iteration. The same java code and script works fine on rhino script engine. So, it definitely seems to be either a nashorn issue or a VM issue.

        1. box2d_metaspace_oom_nashorn.txt
          4 kB
        2. box2d_nashorn.txt
          3 kB
        3. box2d_rhino.txt
          0.5 kB
        4. box2d.zip
          178 kB

            Assignee:
            Sundararajan Athijegannathan
            Reporter:
            Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: