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

Getting error while compiling on OSX (all java versions) #930

Closed
martintreurnicht opened this issue Sep 25, 2015 · 5 comments
Closed

Getting error while compiling on OSX (all java versions) #930

martintreurnicht opened this issue Sep 25, 2015 · 5 comments
Labels
parked Without further feedback this bug cannot be processed. If no feedback is provided, we close these.

Comments

@martintreurnicht
Copy link

We've been using lombok for more than a year now, but since our update to 1.16.6 i'm getting this error while compiling on mac osx:

warning: lombok.javac.apt.Processor could not be initialized. Lombok will not run during this compilation: java.lang.RuntimeException: java.lang.ClassNotFoundException: lombok.javac.handlers.HandleHelper

Switching back to 1.16.4 seems to resolve the issue

@askoning
Copy link
Collaborator

This seems similar to #826 - but for some reporters in that thread 1.16.4 was actually the culprit

@martintreurnicht
Copy link
Author

@askoning I would agree with you, but the root cause of the issue i'm getting seems to be a missing class lombok.javac.handlers.HandleHelper which then causes initialization to fail

@rzwitserloot
Copy link
Collaborator

@martintreurnicht Can you send us the complete stack trace? I did a quick peek at the place that generates this error, and it should have given you a complete stack trace. We like line numbers.

@rzwitserloot rzwitserloot added the parked Without further feedback this bug cannot be processed. If no feedback is provided, we close these. label Nov 23, 2015
@rspilker
Copy link
Collaborator

rspilker commented Dec 6, 2015

I've just created an edge release. After download, you probably need to rename the file from lombok-edge.jar to lombok.jar.

If you use that version, during compilation a warning should occur containing a reference to a report file that's created in your temp directory. You can also just look in your temp directory for files called
lombok-processor-report-*.txt.

This file probably tells you where the problem comes from. If you cannot figure it out, can you copy the contents of the file to this issue so we can have a look as well?

@martintreurnicht
Copy link
Author

I'm not sure what caused the issue originally but it seems that it started working again, might be some kind of weird classpath issue but it's no longer an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parked Without further feedback this bug cannot be processed. If no feedback is provided, we close these.
Projects
None yet
Development

No branches or pull requests

4 participants