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

ComputationGraph.feedForward Null Pointer exception. #4913

Closed
RobAltena opened this issue Apr 10, 2018 · 3 comments
Closed

ComputationGraph.feedForward Null Pointer exception. #4913

RobAltena opened this issue Apr 10, 2018 · 3 comments

Comments

@RobAltena
Copy link
Contributor

Issue Description

Please see: deeplearning4j/deeplearning4j-examples#659

We got a developer unfriendly Null Pointer Exception after the 1.0.0-alpha release. The example has been fixed. It is not clear why the original code fails, could be a bug but the error message can be better.

@AlexDBlack
Copy link
Contributor

It's definitely not a bug; there was some changes to how input fields are cleared in some of the feed-forward methods (to avoid having invalid arrays (out of workspace scope) sitting around, which can crash the JVM if used).
I totally agree that we could have a better exception here - I'll add a check + error message in the backprop methods.

@AlexDBlack
Copy link
Contributor

I've added additional checks + a useful exception here: #4900
That will be merged soon.

@lock
Copy link

lock bot commented Sep 22, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Sep 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants