Skip to content

Error no member new scala.beans.BeanProperty . <init> under first incremental compilation #19421

Closed
@WojciechMazur

Description

@WojciechMazur

Failure found in OpenCB for j5ik2o/akka-persistence-s3 - build logs

When compiling project for the first time it can fail with no BeanPropert constructor. When compiling for the second time it is able to finish compilation.

Compiler version

Last good release: 3.4.0-RC1-bin-20231115-0420aaf-NIGHTLY
First bad release: 3.4.0-RC1-bin-20231116-fdf8de3-NIGHTLY
Bisect points to d04b3c7
Present in 3.4.0-RC1, not present in 3.3.2-RC1

Minimized code

No minimisation. The project itself does not use @BeanProperty, it might be used somewhere in the upstream.
To reproduce:

git clone https://github.com/j5ik2o/akka-persistence-s3.git -b v1.2.177 repo
cd repo 
sbt "++${ScalaVersion};clean;Test/compile"

Output

One of projects would fail with:

[error] no member new scala.beans.BeanProperty . <init>
[error] value <none>: <notype> does not take parameters
[error] two errors found
[error] (journal / Test / compileIncremental) Compilation failed```

Expectation

Data race? should be fixed to prevent spurious failures

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions