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
Forum Updated to NodeBB v4.3 + New Features

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 704 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.
  • E Offline
    E Offline
    Eluvatar
    wrote on 11 Oct 2016, 20:14 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

    1/1

    11 Oct 2016, 20:14

    • Login

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