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

Process Align Channels: throws recording bug when no channel shift is applied #194

Open
tischi opened this issue Aug 30, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tischi
Copy link
Collaborator

tischi commented Aug 30, 2022

image

Pressing OK now throws:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
	at de.embl.cba.bdp2.record.ScriptRecorder.<init>(ScriptRecorder.java:90)
	at de.embl.cba.bdp2.record.ScriptRecorder.<init>(ScriptRecorder.java:79)
	at de.embl.cba.bdp2.process.align.channelshift.AlignChannelsDialog.recordMacro(AlignChannelsDialog.java:68)
	at de.embl.cba.bdp2.dialog.AbstractProcessingDialog.ok(AbstractProcessingDialog.java:50)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at de.embl.cba.bdp2.dialog.AbstractOkCancelDialog$OkCancelPanel.lambda$new$1(AbstractOkCancelDialog.java:96)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.Component.processMouseEvent(Component.java:6533)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6298)
	at java.awt.Container.processEvent(Container.java:2237)
	at java.awt.Compo
@tischi tischi added the bug Something isn't working label Aug 30, 2022
@tischi tischi self-assigned this Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant