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

java.lang.NullPointerException at org.easymock.internal.ClassProxyFactory.classPackage(ClassProxyFactory.java:178) #343

Closed
garydgregory opened this issue Nov 27, 2022 · 9 comments
Assignees
Labels
Milestone

Comments

@garydgregory
Copy link

Over at Apache Commons Email, we hit an NPE updating from 4.3 to 5.0.1:

java.lang.NullPointerException
at org.easymock.internal.ClassProxyFactory.classPackage(ClassProxyFactory.java:178)

See apache/commons-email#111

@henri-tremblay
Copy link
Contributor

I see the first test is using PowerMock. Could it be the problem?

@garydgregory
Copy link
Author

It seems to me like some compatibility issue if the only change in the PR is changing the easymock version. Is compatibility not supported from 4.3 to 5.0.1?

@henri-tremblay
Copy link
Contributor

It should. I have regression tests on PowerMock.
But you might be in some nice issue.
I need to run it locally to investigate.

@garydgregory
Copy link
Author

Hi @henri-tremblay
Did you get a chance to take a look?

@henri-tremblay
Copy link
Contributor

Not yet.

@henri-tremblay
Copy link
Contributor

I am able to reproduce locally. Not let's see why it happens.

@henri-tremblay henri-tremblay self-assigned this Dec 30, 2022
@henri-tremblay henri-tremblay added this to the 5.1.0 milestone Dec 30, 2022
@garydgregory
Copy link
Author

Thank you @henri-tremblay

@garydgregory
Copy link
Author

@henri-tremblay
Copy link
Contributor

Release is done and problem should be fixed in EasyMock 5.1.0

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