Skip to content

eclipse-cs fails with spring-javaformat checkstyle #217

Closed
@cirelli94

Description

@cirelli94

eclipse-cs fails with spring-javaformat checkstyle

I set up spring-javaformat plugin with Checkstyle.
When I run build it says:

Errors occurred during the build.
Errors running builder 'Checkstyle Builder' on project 'timebank-api'.
java.lang.NullPointerException

Attached there's the log.
Thanks in advance.
Untitled.log

java.lang.NullPointerException
	at net.sf.eclipsecs.core.config.configtypes.ConfigurationType.getCheckstyleConfiguration(ConfigurationType.java:123)
	at net.sf.eclipsecs.core.config.CheckConfiguration.getCheckstyleConfiguration(CheckConfiguration.java:161)
	at net.sf.eclipsecs.core.builder.CheckerFactory.getCacheKey(CheckerFactory.java:171)
	at net.sf.eclipsecs.core.builder.CheckerFactory.createChecker(CheckerFactory.java:104)
	at net.sf.eclipsecs.core.builder.Auditor.runAudit(Auditor.java:140)
	at net.sf.eclipsecs.core.builder.CheckstyleBuilder.handleBuildSelection(CheckstyleBuilder.java:307)
	at net.sf.eclipsecs.core.builder.CheckstyleBuilder.build(CheckstyleBuilder.java:173)

URLConnection connection = data.getResolvedConfigFileURL().openConnection();

Some info about my environment:
Eclipse IDE for Java Developers Version: 2019-12 (4.14.0) Build id: 20191212-1212
Eclipse Checkstyle Project Eclipse Checkstyle 8.29.0.202001290016 net.sf.eclipsecs

I attached Installation Details > Configuration in eclipse-configuration.txt file.

eclipse-configuration.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions