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.IllegalAccessError when running inside JBoss modules #32

Closed
marvelous opened this issue Aug 11, 2017 · 4 comments
Closed

java.lang.IllegalAccessError when running inside JBoss modules #32

marvelous opened this issue Aug 11, 2017 · 4 comments
Labels
Milestone

Comments

@marvelous
Copy link

I get the following exception when running with bt-dht inside JBoss modules:

Exception in thread "main" java.lang.IllegalAccessError: class bt.protocol.handler.PortMessageHandler cannot access its superclass bt.protocol.handler.UniqueMessageHandler

Although these classes are both in the same java package, they belong to different modules. Making UniqueMessageHandler public would solve this problem.

I guess that the same issue can be triggered using OSGI or Jigsaw.

@atomashpolskiy
Copy link
Owner

Oh, must be some classloading issue... sure, I can release a hotfix version. Are you using 1.3?

@marvelous
Copy link
Author

That'd be great! Yes, I am on 1.3.

@atomashpolskiy
Copy link
Owner

@marvelous , 1.3.1 is available in Central. Thank you for reporting!

@atomashpolskiy atomashpolskiy added this to the 1.4 milestone Aug 11, 2017
@marvelous
Copy link
Author

It works, thank you very much!

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