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

[scio-core] Fix compilation #2

Open
MaximeKjaer opened this issue Mar 4, 2021 · 1 comment
Open

[scio-core] Fix compilation #2

MaximeKjaer opened this issue Mar 4, 2021 · 1 comment

Comments

@MaximeKjaer
Copy link

Errors:

[error] -- Error: /home/maxime/code/scio/scio-core/src/main/scala/com/spotify/scio/coders/instances/JavaCoders.scala:100:33 
[error] 100 |    Coder.xmap(Coder[(Long, Int)])(
[error]     |                                 ^
[error]     |                                 Class <none> has not getter
[error]     | This location contains code that was inlined from JavaCoders.scala:100
[error] -- Error: /home/maxime/code/scio/scio-core/src/main/scala/com/spotify/scio/coders/instances/JavaCoders.scala:108:37 
[error] 108 |    Coder.xmap(Coder[(Int, Int, Int)])(
[error]     |                                     ^
[error]     |                                     Class <none> has not getter
[error]     | This location contains code that was inlined from JavaCoders.scala:108
[error] -- Error: /home/maxime/code/scio/scio-core/src/main/scala/com/spotify/scio/coders/instances/JavaCoders.scala:114:42 
[error] 114 |    Coder.xmap(Coder[(Int, Int, Int, Int)])(
[error]     |                                          ^
[error]     |                                          Class <none> has not getter
[error]     | This location contains code that was inlined from JavaCoders.scala:114
[error] -- Error: /home/maxime/code/scio/scio-core/src/main/scala/com/spotify/scio/coders/instances/JavaCoders.scala:122:44 
[error] 122 |    Coder.xmap(Coder[(LocalDate, LocalTime)])(
[error]     |                                            ^
[error]     |                                           Class <none> has not getter
[error]     | This location contains code that was inlined from JavaCoders.scala:122
[error] -- Error: /home/maxime/code/scio/scio-core/src/main/scala/com/spotify/scio/coders/instances/JavaCoders.scala:128:33 
[error] 128 |    Coder.xmap(Coder[(Long, Int)])(
[error]     |                                 ^
[error]     |                                 Class <none> has not getter
[error]     | This location contains code that was inlined from JavaCoders.scala:128
[error] -- Error: /home/maxime/code/scio/scio-core/src/main/scala/com/spotify/scio/coders/instances/JavaCoders.scala:134:37 
[error] 134 |    Coder.xmap(Coder[(Int, Int, Int)])(
[error]     |                                     ^
[error]     |                                     Class <none> has not getter
[error]     | This location contains code that was inlined from JavaCoders.scala:134
[error] -- Error: /home/maxime/code/scio/scio-core/src/main/scala/com/spotify/scio/coders/instances/JavaCoders.scala:143:28 
[error] 143 |    Coder.xmap(Coder[String])(
[error]     |                            ^
[error]     |JavaBean contained a getter for field Chars but did not contain a matching setter.
[error]     | This location contains code that was inlined from JavaCoders.scala:143
@MaximeKjaer
Copy link
Author

The message "has not getter" (which should be "has no getter" 😅 ) stems from IsJavaBean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant