WPIRoboticsProjects / GRIP

Program for rapidly developing computer vision applications
http://wpiroboticsprojects.github.io/GRIP
Other
379 stars 107 forks source link

GRIP crashes when selecting Blur on Ubuntu 20.04 #971

Closed rickymedrano closed 3 years ago

rickymedrano commented 4 years ago

Hi, I installed GRIP 1.6RC4 (the non Cuda deb package) on Ubuntu 20.04.1LTS. I open it and Add Source>Image and pick an image. Nothing comes up on the preview window. I then select Blur to add it and the program crashes. Here is my GRIP log:

Nov 19, 2020 5:42:02 PM edu.wpi.grip.ui.Main init
INFO: Launching GRIP in UI mode
Nov 19, 2020 5:42:02 PM edu.wpi.grip.core.util.service.LoggingListener starting
INFO: [PipelineRunner] Starting
Nov 19, 2020 5:42:16 PM edu.wpi.grip.core.events.EventLogger eventPosted
INFO: Event on thread 'JavaFX Application Thread': SourceAddedEvent{source=ImageFileSource{name=image}}
Nov 19, 2020 5:42:28 PM edu.wpi.grip.ui.Main lambda$onUnexpectedThrowableEvent$4
SEVERE: Failed to show exception alert
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException
    at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2214)
    at com.google.common.cache.LocalCache.get(LocalCache.java:4053)
    at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4057)
    at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4986)
    at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4992)
    at com.google.inject.internal.util.StackTraceElements.forMember(StackTraceElements.java:70)
    at com.google.inject.internal.Errors.formatSource(Errors.java:817)
    at com.google.inject.internal.Errors.formatSource(Errors.java:796)
    at com.google.inject.internal.Errors.formatInjectionPoint(Errors.java:849)
    at com.google.inject.internal.Errors.formatSource(Errors.java:811)
    at com.google.inject.internal.Errors.formatSource(Errors.java:796)
    at com.google.inject.internal.Errors.format(Errors.java:590)
    at com.google.inject.ProvisionException.getMessage(ProvisionException.java:60)
    at java.base/java.lang.Throwable.getLocalizedMessage(Unknown Source)
    at java.base/java.lang.Throwable.toString(Unknown Source)
    at java.base/java.lang.String.valueOf(Unknown Source)
    at java.base/java.lang.StringBuilder.append(Unknown Source)
    at java.base/java.lang.Throwable.printEnclosedStackTrace(Unknown Source)
    at java.base/java.lang.Throwable.printEnclosedStackTrace(Unknown Source)
    at java.base/java.lang.Throwable.printStackTrace(Unknown Source)
    at java.base/java.lang.Throwable.printStackTrace(Unknown Source)
    at com.google.common.base.Throwables.getStackTraceAsString(Throwables.java:294)
    at edu.wpi.grip.ui.ExceptionAlert.generateExceptionMessage(ExceptionAlert.java:152)
    at edu.wpi.grip.ui.ExceptionAlert.<init>(ExceptionAlert.java:63)
    at edu.wpi.grip.ui.Main.lambda$onUnexpectedThrowableEvent$4(Main.java:211)
    at com.sun.javafx.application.PlatformImpl.runAndWait(PlatformImpl.java:446)
    at com.sun.javafx.application.PlatformImpl.runAndWait(PlatformImpl.java:440)
    at edu.wpi.grip.ui.Main.lambda$onUnexpectedThrowableEvent$5(Main.java:202)
    at edu.wpi.grip.core.events.UnexpectedThrowableEvent.handleSafely(UnexpectedThrowableEvent.java:51)
    at edu.wpi.grip.ui.Main.onUnexpectedThrowableEvent(Main.java:197)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)
    at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)
    at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)
    at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:435)
    at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)
    at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)
    at com.google.common.eventbus.EventBus.post(EventBus.java:217)
    at edu.wpi.grip.core.GripCoreModule.onThreadException(GripCoreModule.java:167)
    at java.base/java.lang.ThreadGroup.uncaughtException(Unknown Source)
    at java.base/java.lang.ThreadGroup.uncaughtException(Unknown Source)
    at com.sun.glass.ui.Application.reportException(Application.java:451)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
    at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException
    at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
    at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
    at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
    at com.google.inject.internal.util.LineNumbers.<init>(LineNumbers.java:66)
    at com.google.inject.internal.util.StackTraceElements$1.load(StackTraceElements.java:46)
    at com.google.inject.internal.util.StackTraceElements$1.load(StackTraceElements.java:43)
    at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3628)
    at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2336)
    at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2295)
    at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2208)
    ... 47 more

Nov 19, 2020 5:42:28 PM edu.wpi.grip.core.util.SafeShutdown exit
INFO: Exiting GRIP

Update: I was able to uninstall 1.6RC4 and installed 1.5.2 and the issue went away. 1.5.2 seems to be stable so far.