Skip to content

Viewing Numbers throw Null pointer error #254

@AustinShalit

Description

@AustinShalit

What were the actions performed prior to this error appearing?

Click the view button next to a Number.

Message: An event subscriber threw an exception

System Info:

Property Name Property
GRIP Version 0.3.0
javafx.version 8.0.66
java.runtime.name Java(TM) SE Runtime Environment
java.vm.version 25.66-b17
java.vm.vendor Oracle Corporation
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.runtime.version 1.8.0_66-b17
java.awt.graphicsenv sun.awt.CGraphicsEnvironment
javafx.runtime.version 8.0.66-b17
os.name Mac OS X
os.version 10.11.2
os.arch x86_64
file.encoding UTF-8
java.vm.info mixed mode
java.version 1.8.0_66
sun.arch.data.model 64
sun.cpu.endian little

Stack Trace:

java.lang.NullPointerException
    at edu.wpi.grip.ui.preview.TextAreaSocketPreviewView.onSocketChanged(TextAreaSocketPreviewView.java:37)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at edu.wpi.grip.core.Socket.setValueOptional(Socket.java:70)
    at edu.wpi.grip.core.OutputSocket.setValueOptional(OutputSocket.java:36)
    at edu.wpi.grip.core.Socket.setValue(Socket.java:79)
    at edu.wpi.grip.core.OutputSocket.setValue(OutputSocket.java:41)
    at edu.wpi.grip.core.sources.CameraSource.lambda$start$15(CameraSource.java:190)
    at java.lang.Thread.run(Thread.java:745)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions