Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Teensy 3.2 + Octows2811 adaptor - Processing error: InvocationTargetException

  1. #1
    Junior Member
    Join Date
    Nov 2019
    Posts
    3

    Teensy 3.2 + Octows2811 adaptor - Processing error: InvocationTargetException

    Hello all,

    New here - wanting to make an LED TV using Teensy 3.2 and ws2811 adaptor.

    OS: Ubuntu 16.04 64-bit Intel® Core™ i5-2450M CPU @ 2.50GHz × 4

    Got Arduino IDE 1.8.10 working after teensyduino 1.48 installer and programmed Teensy 3.2 on ttyACM0 with 'VideoDisplay' sketch from ws2811 examples folder.
    Installed Processing 3.5.3
    Loaded movie2serial sketch from ws2811 examples folder.

    Experiencing the following error with no idea how to overcome - any help is appreciated
    Please let me know if you require any more input

    Error message:

    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at processing.core.PApplet.runSketch(PApplet.java:108 45)
    at processing.core.PApplet.main(PApplet.java:10613)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Construc tor.java:423)
    at processing.core.PApplet.runSketch(PApplet.java:108 39)
    ... 1 more
    Caused by: java.lang.NullPointerException
    at processing.core.PApplet.dispose(PApplet.java:3823)
    at processing.core.PApplet.die(PApplet.java:3734)
    at processing.core.PApplet.die(PApplet.java:3744)
    at processing.video.Movie.initGStreamer(Unknown Source)
    at processing.video.Movie.<init>(Unknown Source)
    at movie2serial.<init>(movie2serial.java:63)
    ... 6 more
    RuntimeException: java.lang.reflect.InvocationTargetException

  2. #2
    Junior Member
    Join Date
    Nov 2019
    Posts
    3
    Created a posting over on the Processing forum - perhaps someone has an idea there.

    https://discourse.processing.org/t/t...xception/15365

  3. #3
    Junior Member
    Join Date
    Nov 2019
    Posts
    3
    Strangely, just downloaded Processing on a Macbook pro and the same sketch runs fine with no errors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •