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

NPE with estimateBoundingInterval #141

Open
NicoKiaru opened this issue Mar 17, 2022 · 1 comment
Open

NPE with estimateBoundingInterval #141

NicoKiaru opened this issue Mar 17, 2022 · 1 comment

Comments

@NicoKiaru
Copy link
Contributor

Hi @bogovicj,

I wanted to try BigWarp 7.0.6-SNAPSHOT and I get this error:

java.lang.NullPointerException
	at bdv.img.WarpedSource.estimateBoundingInterval(WarpedSource.java:148)
	at bdv.img.WarpedSource.getSource(WarpedSource.java:141)
	at bdv.tools.transformation.TransformedSource.getSource(TransformedSource.java:252)
	at bdv.tools.transformation.TransformedSource.getSource(TransformedSource.java:252)
	at ch.epfl.biop.bdv.select.SourceSelectorOverlay.updateBoxes(SourceSelectorOverlay.java:197)
	at ch.epfl.biop.bdv.select.SourceSelectorBehaviour.viewerStateChanged(SourceSelectorBehaviour.java:303)
	at bdv.viewer.BasicViewerState.lambda$notifyListeners$3(BasicViewerState.java:1650)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at bdv.viewer.BasicViewerState.notifyListeners(BasicViewerState.java:1650)
	at bdv.viewer.BasicViewerState.checkVisibilityChanged(BasicViewerState.java:1660)
	at bdv.viewer.BasicViewerState.setSourcesActive(BasicViewerState.java:513)
	at bdv.viewer.SynchronizedViewerState.setSourcesActive(SynchronizedViewerState.java:338)
	at sc.fiji.bdvpg.scijava.services.SourceAndConverterBdvDisplayService.show(SourceAndConverterBdvDisplayService.java:264)
	at sc.fiji.bdvpg.scijava.services.SourceAndConverterBdvDisplayService.show(SourceAndConverterBdvDisplayService.java:223)
	at ch.epfl.biop.atlas.aligner.gui.bdv.SliceGuiState.show(SliceGuiState.java:210)
	at ch.epfl.biop.atlas.aligner.gui.bdv.SliceGuiState.setState(SliceGuiState.java:384)
	at ch.epfl.biop.atlas.aligner.gui.bdv.BdvMultislicePositionerView.lambda$loadState$46(BdvMultislicePositionerView.java:762)
	at ch.epfl.biop.atlas.aligner.gui.bdv.BdvMultislicePositionerView$SynchronizedSliceGuiState.runSlice(BdvMultislicePositionerView.java:2112)
	at ch.epfl.biop.atlas.aligner.gui.bdv.BdvMultislicePositionerView.loadState(BdvMultislicePositionerView.java:762)
	at ch.epfl.biop.atlas.aligner.gui.bdv.BdvMultislicePositionerView.lambda$null$22(BdvMultislicePositionerView.java:248)
	at java.lang.Thread.run(Thread.java:750)

No time to dig now, but please let me know if something can be done on my side.

@bogovicj
Copy link
Contributor

Thanks @NicoKiaru !
This is super helpful since I changed / improved some bounding box estimation stuff (except it breaks)
I bet I can find this quickly. Thanks again!

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

No branches or pull requests

2 participants