question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compilation fails with Intellij 14.1.5

See original GitHub issue

Context:

  • Intellij 14.1.5
  • Lombok plugin: 0.9.6.14

Issue:

  • everything is fine in the editor view :
    • no warning
    • lombok processing is fine (for instance, @Getter produces usable getter in other class, …)
  • but compilation fails (build project/compile class) as if the annotation processing is not taken into account in the compile phase

Sample class:

package net.devlab722;

import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
public class Lombi {

    private final String first;
    private final String second;
}

The logs:

/home/cfurmaniak/workspace/SANDBOXES/grokking-algorithms/src/main/java/net/devlab722/Lombi.java
Error:(8, 26) java: variable first not initialized in the default constructor
Error:(9, 26) java: variable second not initialized in the default constructor

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mplushnikovcommented, Nov 2, 2015

All my colleagues doesn’t have any problems with compilation (both MacOs and Windows) Please verify your compiler settings and the option “Enable annotation processing”. If somebody has any issues, this was the root cause. image

0reactions
mplushnikovcommented, Jan 11, 2016

Interesting problem! JMH benchmark generator is based on annotation processor. It’s possible, that they interfere each other. I will close this issue now, because it seems to work now for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliJ IDEA 14.1.5 Release Notes | Knowledge Base
WEB-17198 (Performance Problem), Extremely slow syntax analysis for JS ; IDEA-138936 (Bug), File templates are not imported via File/Import Settings ; IDEA-128540 ...
Read more >
IntelliJ IDEA 14.1.5 Update is Out - The JetBrains Blog
While we're busy working on the new and shiny IntelliJ IDEA 15 (expected this fall), we actually don't stop improving the existing IntelliJ...
Read more >
14.1.5 : The IntelliJ IDEA Blog | The JetBrains Blog
Today we're happy to let you know about the availability of its new update. Enjoy an even more stable version of your favorite...
Read more >
IntelliJ 14.1.5 OS X frequently locks up
HiI'm having a terrible time with IntelliJ. Since IntelliJ 13, it constantly locks up. I'd have to Force Quit and restart it every...
Read more >
IntelliJ IDEA Ultimate 14.1.5 won't restart Chrome in debug ...
Hello,I have an issue with IntelliJ IDEA Ultimate 14.1.5 Mac. ... Main - IDE: IntelliJ IDEA (build #IU-141.2735.5, 22 Sep 2015 00:00)
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found