When using the FluxLightModel on a Laptop with an integrated Intel Graphics Card (Intel HD Graphics 620), an unhandled NullPointerException occurs, even when the option "Use GPU Devices" in the Preferences is unchecked.
Stack Trace: java.lang.NullPointerException at de.grogra.gpuflux.jocl.compute.ComputeContext.<init>(Unknown Source) at de.grogra.gpuflux.GPUFluxInit.initComputeContext(Unknown Source) at de.grogra.gpuflux.tracer.FluxLightModelTracer.setupJOCL(Unknown Source) at de.grogra.gpuflux.tracer.FluxLightModelTracer.build(Unknown Source) at de.grogra.rgg.FluxLightModel.build(Unknown Source) at VaidationSetup.run(pfs:VaidationSetup.rgg:41) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at de.grogra.reflect.ClassAdapter$MethodAdapter.invoke(Unknown Source) at de.grogra.rgg.RGG.apply(Unknown Source) at de.grogra.rgg.RGG$Apply.applyRules(Unknown Source) at de.grogra.rgg.RGG$Apply.runImpl(Unknown Source) at de.grogra.pf.ui.util.LockProtectedCommand$1.run(Unknown Source) at de.grogra.pf.ui.UI$1Task.run(Unknown Source) at de.grogra.graph.impl.GraphManager.invokeRun(Unknown Source) at de.grogra.util.LockableImpl.invokeRun0(Unknown Source) at de.grogra.util.LockableImpl.executeImpl(Unknown Source) at de.grogra.util.LockableImpl.execute(Unknown Source) at de.grogra.pf.ui.UI.executeLockedly(Unknown Source) at de.grogra.pf.ui.util.LockProtectedCommand.run(Unknown Source) at de.grogra.pf.ui.registry.CommandItem.run(Unknown Source) at de.grogra.pf.ui.registry.CommandItem.eventOccured(Unknown Source) at de.grogra.pf.ui.tree.RegistryAdapter.eventOccured(Unknown Source) at de.grogra.pf.ui.tree.UITreePipeline$Node.handleEvent(Unknown Source) at de.grogra.pf.ui.tree.UITreePipeline.eventOccured(Unknown Source) at de.grogra.pf.ui.awt.ButtonSupport$Dispatcher.run(Unknown Source) at de.grogra.imp.IMPJobManager.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
I just realized, that the LightModel is used for CPU calculation and it works.
I think however, that their should be a graceful error message
hi hendrik,
could you plz. check out the "daily build" version of groimp from ufgb966.forst.uni-goettingen.de/GroIMP/. there should be alreay a chatch of intel cards implemented.
kind regards
mh
Hi,
thank you, I think this ticket can be closed.
Regards,
Hendrik