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

Unicode error in attribute name mapping #801

Open
yegor256 opened this issue Oct 25, 2024 · 2 comments
Open

Unicode error in attribute name mapping #801

yegor256 opened this issue Oct 25, 2024 · 2 comments
Assignees
Labels
bug Something isn't working soon This issue will be solved soon

Comments

@yegor256
Copy link
Member

I found it here:

Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchFieldError: Class org.eolang.Phi does not have member field 'org.eolang.Phi Φ' [in thread "ForkJoinPool-1-worker-1"]
2024-10-24T21:47:26.5072485Z 	at org.eolang.Phi.<clinit>(Unknown Source)
2024-10-24T21:47:26.5073694Z 	at EOorg.EOeolang.EOnet.EOsocketTest.connectsToLocalServerViaSocketObject(EOsocketTest.java:90)
2024-10-24T21:47:26.5075401Z 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
2024-10-24T21:47:26.5076699Z 	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
2024-10-24T21:47:26.5082057Z 	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:767)
2024-10-24T21:47:26.5083658Z 	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
2024-10-24T21:47:26.5085675Z 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
2024-10-24T21:47:26.5087915Z 	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
2024-10-24T21:47:26.5089725Z 	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
2024-10-24T21:47:26.5091665Z 	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
2024-10-24T21:47:26.5094008Z 	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
2024-10-24T21:47:26.5096501Z 	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
2024-10-24T21:47:26.5099158Z 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
2024-10-24T21:47:26.5101556Z 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
2024-10-24T21:47:26.5103650Z 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
2024-10-24T21:47:26.5105741Z 	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
2024-10-24T21:47:26.5111468Z 	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
2024-10-24T21:47:26.5113546Z 	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
2024-10-24T21:47:26.5115727Z 	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$8(TestMethodTestDescriptor.java:217)

Pay attention, the Unicode here is broken: org.eolang.Phi Φ. The name of the file is Φ, not Φ. I'm not sure whether jeo is guilty here.

@yegor256
Copy link
Member Author

@volodya-lombrozo please, check

@yegor256
Copy link
Member Author

yegor256 commented Oct 25, 2024

@volodya-lombrozo I believe, I managed to reproduce the problem: objectionary/hone-maven-plugin#55 Attribute names that contain Unicode are not correctly treated.

@volodya-lombrozo volodya-lombrozo self-assigned this Oct 26, 2024
@volodya-lombrozo volodya-lombrozo added bug Something isn't working soon This issue will be solved soon labels Oct 26, 2024
volodya-lombrozo added a commit to volodya-lombrozo/jeo-maven-plugin that referenced this issue Oct 26, 2024
…f unicode characters to directives works well
volodya-lombrozo added a commit to volodya-lombrozo/jeo-maven-plugin that referenced this issue Oct 26, 2024
volodya-lombrozo added a commit to volodya-lombrozo/jeo-maven-plugin that referenced this issue Oct 26, 2024
volodya-lombrozo added a commit to volodya-lombrozo/jeo-maven-plugin that referenced this issue Oct 26, 2024
volodya-lombrozo added a commit to volodya-lombrozo/jeo-maven-plugin that referenced this issue Oct 26, 2024
volodya-lombrozo added a commit to volodya-lombrozo/jeo-maven-plugin that referenced this issue Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working soon This issue will be solved soon
Projects
None yet
Development

No branches or pull requests

2 participants