processing / processing4

Processing is a flexible software sketchbook and a language for learning how to code. Since 2001, Processing has promoted software literacy within the visual arts and visual literacy within technology. There are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning and prototyping.
https://processing.org
Other
10 stars 3 forks source link

OpenCV Demos like BrightestPoint fail with NullPointerException #263

Closed processing-bot closed 2 months ago

processing-bot commented 3 years ago

Created by: jpagliaccio

Description

Running one of the OpenCV demos like BrightestPoint fails with errors.

Expected Behavior

The default file "robot_light.jpg" should display with the brightest pixels highlighted.

Current Behavior

The default file "robot_light.jpg" is found but never opens.

The Console produces:

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by gab.opencv.OpenCV (file:/C:/Users/jpagliaccio.USNYBLDT042/Documents/sketchbook/libraries/opencv_processing/library/opencv_processing.jar) to field java.lang.ClassLoader.sys_paths WARNING: Please consider reporting this to the maintainers of gab.opencv.OpenCV WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release NullPointerException NullPointerException NullPointerException

Steps to Reproduce

  1. On Windows 10
  2. Start Procesing 4.0b1
  3. Fresh install of OpenCV for Processing 0.5.4
  4. Restart Procesing 4.0b1
  5. Open and run the BrightestPoint example or other OpenCV example.
processing-bot commented 3 years ago

Created by: benfry

Please contact the author of the OpenCV library. We can't support every library!

processing-bot commented 3 years ago

Created by: github-actions[bot]

This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs.