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

Checking for Null to prevent NPE. #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

weirdkid
Copy link

@weirdkid weirdkid commented Oct 3, 2016

I was getting an NPE while using tlbimp on Redemption.dll. The stack trace pointed here, so I added a test for a null IType being passed in. This may or may not be the right thing to do in this case, but it gets me past the NPE and the generated code seems to work fine. Someone who knows com4j better should validate, though.

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

Successfully merging this pull request may close these issues.

2 participants