Solved by Nikronic in post #6 
              
              
                If you trace the stacktrace, it ends up in this line which as you might guess size is different from value in .view. 
You can find these type of issues easily by tracing the stacktrace from last line to first. Then error message usually is common in many different posts, so you can the idea of erro…