Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QT Crashes with "!"empty Value encountered"" in file jsruntime\qv4value.cpp, line 142
QtWS25 Last Chance

QT Crashes with "!"empty Value encountered"" in file jsruntime\qv4value.cpp, line 142

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
function applyjavascript5.7
1 Posts 1 Posters 672 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • EluvatarE Offline
    EluvatarE Offline
    Eluvatar
    wrote on last edited by
    #1

    Hi, I'm using a 3rd party js library and I ran into an issue.

    I've boiled it down to the following code that can reproduce the issue:

    Component.onCompleted:  {
        var a = [];
        a[0] = 1;
        a[2] = 3;
        test.apply(null, a);
    }
    
    function test(a1, a2, a3) {
        print(a1);
        print(a2);//crashes here
        print(a3);
    }
    
    • Has anyone else experienced this issue?
    • Can you reproduce it?
    • Should I report this issue?
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved