Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Disco party error on Mac

I cannot seem to use disco party with my Blinkytape. The java.lang.NullPointerException error comes up whenever I run it.

I am using Mac OS X version 10.6.8 and I am running processing 2.0.3. Any help with this problem would be greatly appreciated.


  • Hey bttoddx - could you paste in the top & bottom lines of the error? We'll try to recreate it. You're using DiscoParty without modifications, correct?
  • Here's the entire dialogue below the code:
    Smooth is not supported by this hardware (or driver)
    ControlP5 2.0.4 infos, comments, questions at
    Stable Library
    Native lib Version = RXTX-2.1-7
    Java lib Version = RXTX-2.1-7
    Connecting to BlinkyTape on: /dev/cu.usbmodem3d11
    LedOutput: Exception while making serial port: java.lang.RuntimeException: Please use Tools ? Fix the Serial Library.
    To use the serial library, first open
    Applications -> Utilities ->
    and enter the following:
    sudo mkdir -p /var/lock
    sudo chmod 777 /var/lock
    java.lang.RuntimeException: java.lang.NullPointerException
    at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(
    at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(
    at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(
    at processing.opengl.PGL.requestDraw(
    at processing.opengl.PGraphicsOpenGL.requestDraw(
    Caused by: java.lang.NullPointerException
    at DiscoParty$BlinkyTape.render(
    at DiscoParty$BlinkyTape.render(
    at DiscoParty.draw(
    at processing.core.PApplet.handleDraw(
    at processing.opengl.PGL$PGLListener.display(
    at jogamp.opengl.GLDrawableHelper.displayImpl(
    at jogamp.opengl.GLDrawableHelper.display(
    at jogamp.opengl.GLDrawableHelper.invokeGLImpl(
    at jogamp.opengl.GLDrawableHelper.invokeGL(
    at java.awt.event.InvocationEvent.dispatch(
    at java.awt.EventQueue.dispatchEventImpl(
    at java.awt.EventQueue.access$400(
    at java.awt.EventQueue$
    at java.awt.EventQueue$
    at Method)
    at java.awt.EventQueue.dispatchEvent(
    at java.awt.EventDispatchThread.pumpOneEventForFilters(
    at java.awt.EventDispatchThread.pumpEventsForFilter(
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(
    at java.awt.EventDispatchThread.pumpEvents(
    at java.awt.EventDispatchThread.pumpEvents(
    You are running Processing revision 221, the latest is 224.

    Yes, I am running disco party without modifications.

    The bulk of the errors come up after I click the link to connect to a Blinkytape. The program senses the hardware in the port, but there is an error afterwards.
  • It sounds like there is a permissions problem with the serial port. Recent versions of Processing have a fix for it; see if there is an item in the Tools menu called "Fix Serial Permissions" (or similar).
  • That seems to do the trick, thanks much Matt.
Sign In or Register to comment.