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.

BitonalOrderedDither crash

See original GitHub issue

I dont know what kind of issue this should be in or why is it happening, but here it is. I got this crash report on crashlytics log from BitonalOrderedDither:

Fatal Exception: java.lang.RuntimeException
Caused by java.lang.NoSuchMethodError
No virtual method ints(II)Ljava/util/stream/IntStream; in class Ljava/util/Random; or its super classes (declaration of 'java.util.Random' appears in /system/framework/core-libart.jar)
com.github.anastaciocintra.escpos.image.BitonalOrderedDither.<init> (BitonalOrderedDither.java:70)
com.github.anastaciocintra.escpos.image.BitonalOrderedDither.<init> (BitonalOrderedDither.java:84)

Any ideas what is?

Thank you!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
SerggioCcommented, Mar 30, 2021

Thanks @anastaciocintra. I’ll update the version. Until now, after changing to BitonalThreshold, I didn’t see any more crashes. Issue can be closed maybe.

1reaction
anastaciocintracommented, Jan 28, 2021

good, 19 is ok for me! the difference between threshold and ordered diter is that with the ordered BitonalOrderedDither, the image printed have a grey-scale sensation for whom is seeing, and threshold algo print a image in black-white (more traditional way). But the size of printing is the same.

I will focus on discover exactly witch android api/sdk min version is necessary for escpos-lib (next activities).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Man dead after Roosevelt Blvd crash, police searching for driver
Ross DiMattei reports.
Read more >
Speeding driver flees after crashing on Roosevelt Boulevard ...
Police are looking for a driver who they say flipped a stolen car in a high-speed crash on Roosevelt Boulevard and left his...
Read more >
IMPD: 1 dead after West 34th Street crash - YouTube
Police said it happened Monday evening on West 34th Street just west of Interstate 465.
Read more >
org.xhtmlrenderer.swing.Java2DRenderer Example
Here are the examples of the java api org.xhtmlrenderer.swing.Java2DRenderer taken from open source projects. By voting up you can indicate which examples are ......
Read more >
Blob Storage reference docs - delete container immediately or at ...
SyntaxError originating from a typo in pyranges.readers, 3, 2021-09-08, 2022-10-13. BitonalOrderedDither crash, 10, 2021-01-27, 2022-10-07.
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