question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

assertion fails for createIndexBuffer(0, 0)

See original GitHub issue

Here’s the relevant portion of the stack trace:

Mar 12, 2021 8:39:43 PM com.jme3.app.LegacyApplication handleError
SEVERE: Uncaught exception thrown in Thread[jME3 Main,5,main]
java.lang.AssertionError: out of range: -1
	at com.jme3.scene.mesh.IndexByteBuffer.<init>(IndexByteBuffer.java:71)
	at com.jme3.scene.mesh.IndexBuffer.createIndexBuffer(IndexBuffer.java:81)

Discovered in JME v3.4.0-alpha1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
stephengoldcommented, Mar 14, 2021

Thanks for the fix!

0reactions
stephengoldcommented, Mar 16, 2021

I verified that the fix works in my application. Fixed in v3.4.0-alpha3

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the strategy if assertion fails - Stack Overflow
One example where release code asserts are good is -- if logic is not supposed to hit a particular branch of code at...
Read more >
Assertion failure due to comparing an unsigned int with a ...
On my first attempt, there was assertion failure at the following code segment in the file viewer.cc: if (attrib.texcoords.size() > 0) {
Read more >
Assertion failure when you execute a query specifying TOP N ...
Fixes an issue in which query fails and errors when you execute a query ... A system assertion check has failed. ... Msg...
Read more >
Assertions - Go Packages
Empty asserts that the specified object is empty. I.e. nil, "", false, 0 or either a slice or a channel with len ==...
Read more >
Advanced Python: Error Handling
4.1 Built-In Assertions; 4.2 Hamcrest Assertions. ⇦ Back. Here is some code that produces an error: ls = ['List Item 0', 'List Item...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found