Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in FlybrainOutOfCoreExample #589

Closed
kephale opened this issue Jul 22, 2023 · 1 comment
Closed

Bug in FlybrainOutOfCoreExample #589

kephale opened this issue Jul 22, 2023 · 1 comment
Assignees
Labels

Comments

@kephale
Copy link
Member

kephale commented Jul 22, 2023

Describe the bug

When I try to run FlybrainOutOfCoreExample on scenery main it continuously spams the following warning

[main] WARN VolumeManager - Probably ran out of data, corrupt BDV file? java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException: pixel and/or image type not supported (yet).
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException: pixel and/or image type not supported (yet).
	at net.imglib2.cache.util.CacheAsUncheckedCacheAdapter.get(CacheAsUncheckedCacheAdapter.java:78)
	at bvv.core.blocks.TileAccess$Cache.get(TileAccess.java:195)
	at bvv.core.render.VolumeBlocks.canLoadCompletely(VolumeBlocks.java:361)
	at bvv.core.render.VolumeBlocks.getFillTasks(VolumeBlocks.java:345)
	at bvv.core.render.VolumeBlocks.getFillTasks(VolumeBlocks.java:176)
	at graphics.scenery.volumes.VolumeManager.updateBlocks(VolumeManager.kt:397)
	at graphics.scenery.volumes.VolumeManager$createRenderable$1.preDraw(VolumeManager.kt:620)
	at graphics.scenery.backends.vulkan.VulkanRenderer$render$1.invokeSuspend(VulkanRenderer.kt:1603)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
	at graphics.scenery.backends.vulkan.VulkanRenderer.render(VulkanRenderer.kt:1526)
	at graphics.scenery.SceneryBase.sceneryMain$suspendImpl(SceneryBase.kt:206)
	at graphics.scenery.SceneryBase$sceneryMain$1.invokeSuspend(SceneryBase.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
	at graphics.scenery.SceneryBase.main(SceneryBase.kt:485)
	at graphics.scenery.tests.examples.volumes.FlybrainOutOfCoreExample$Companion.main(FlybrainOutOfCoreExample.kt:155)
	at graphics.scenery.tests.examples.volumes.FlybrainOutOfCoreExample.main(FlybrainOutOfCoreExample.kt)
Caused by: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException: pixel and/or image type not supported (yet).
	at net.imglib2.cache.ref.WeakRefLoaderCache.get(WeakRefLoaderCache.java:145)
	at net.imglib2.cache.util.LoaderCacheAsCacheAdapter.get(LoaderCacheAsCacheAdapter.java:76)
	at net.imglib2.cache.util.CacheAsUncheckedCacheAdapter.get(CacheAsUncheckedCacheAdapter.java:74)
	... 29 more
Caused by: java.lang.UnsupportedOperationException: pixel and/or image type not supported (yet).
	at bvv.core.blocks.TileAccess.create(TileAccess.java:130)
	at bvv.core.blocks.TileAccess$Cache.lambda$null$0(TileAccess.java:190)
	at net.imglib2.cache.ref.WeakRefLoaderCache.get(WeakRefLoaderCache.java:135)
	... 31 more
@skalarproduktraum
Copy link
Member

This turned out to be a layer 8 error on the side of @kephale 😂 Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants