You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am creating an issue instead of a bug report, because I need to dig deeper into the problem to really understand what might be going on. But maybe someone has an idea.
1.13.8 - Compilation errors
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/style/expressions/Expression.java:5052: error: cannot access Array
int len = java.lang.reflect.Array.getLength(object);
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/java/lang/reflect/Array.class)
unable to access file: java.nio.channels.ClosedByInterruptException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:58: error: cannot access XmlPullParser
View view = LayoutInflater.from(mapView.getContext()).inflate(layoutResId, mapView, false);
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/org/xmlpull/v1/XmlPullParser.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:90: error: cannot access OnLongClickListener
view.setOnLongClickListener(new View.OnLongClickListener() {
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/android/view/View$OnLongClickListener.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:91: error: method does not override or implement a method from a supertype @OverRide
^
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:135: error: cannot access MeasureSpec
view.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED);
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/android/view/View$MeasureSpec.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:135: error: cannot find symbol
view.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED);
^
symbol: variable MeasureSpec
location: class View
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:258: error: cannot access id
TextView titleTextView = ((TextView) view.findViewById(R.id.infowindow_title));
^
bad class file: /Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/build/intermediates/compile_r_class_jar/drawableDebug/R.jar(/org/maplibre/android/R$id.class)
unable to access file: java.nio.channels.ClosedByInterruptException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:260: error: cannot access OnPreDrawListener
titleTextView.setText(title);
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/android/view/ViewTreeObserver$OnPreDrawListener.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:267: error: cannot find symbol
TextView snippetTextView = ((TextView) view.findViewById(R.id.infowindow_description));
^
symbol: variable id
location: class R
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/location/LocationComponentOptions.java:213: error: cannot access NullPointerException
throw new NullPointerException("Null padding");
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/java/lang/NullPointerException.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/location/LocationComponentOptions.java:213: error: cannot access NullPointerException
throw new NullPointerException("Null padding");
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/java/lang/NullPointerException.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/location/LocationComponentOptions.java:1743: error: cannot find symbol
throw new NullPointerException("Null padding");
^
symbol: class NullPointerException
location: class Builder
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/location/LocationComponentOptions.java:1743: error: cannot find symbol
throw new NullPointerException("Null padding");
^
symbol: class NullPointerException
location: class Builder
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/location/LocationAnimatorCoordinator.java:209: error: cannot access BaseInterpolator
options.pulseInterpolator() == null ? new DecelerateInterpolator() : options.pulseInterpolator());
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/android/view/animation/BaseInterpolator.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
1.13.10+ - Runtime error
kotlin.reflect.jvm.internal.KotlinReflectionInternalError: Unresolved class: class org.maplibre.android.location.LocationAnimatorCoordinatorTest$configureAnimatorProvider$1$$Lambda$307/0x0000000800b4fb38
at kotlin.reflect.jvm.internal.KClassImpl.reportUnresolvedClass(KClassImpl.kt:328)
at kotlin.reflect.jvm.internal.KClassImpl.access$reportUnresolvedClass(KClassImpl.kt:44)
at kotlin.reflect.jvm.internal.KClassImpl$Data$descriptor$2.invoke(KClassImpl.kt:56)
at kotlin.reflect.jvm.internal.KClassImpl$Data$descriptor$2.invoke(KClassImpl.kt:48)
at kotlin.reflect.jvm.internal.ReflectProperties$LazySoftVal.invoke(ReflectProperties.java:93)
at kotlin.reflect.jvm.internal.ReflectProperties$Val.getValue(ReflectProperties.java:32)
at kotlin.reflect.jvm.internal.KClassImpl$Data.getDescriptor(KClassImpl.kt:48)
at kotlin.reflect.jvm.internal.KClassImpl.getDescriptor(KClassImpl.kt:182)
at kotlin.reflect.jvm.internal.KClassImpl.isValue(KClassImpl.kt:290)
at io.mockk.impl.InternalPlatform.isValueClass(InternalPlatform.kt:65)
at io.mockk.impl.InternalPlatform.packRef(InternalPlatform.kt:70)
at io.mockk.impl.recording.states.RecordingState.matcher(RecordingState.kt:52)
at io.mockk.impl.recording.CommonCallRecorder.matcher(CommonCallRecorder.kt:52)
at org.maplibre.android.location.LocationAnimatorCoordinatorTest$configureAnimatorProvider$3.invoke(LocationAnimatorCoordinatorTest.kt:811)
at org.maplibre.android.location.LocationAnimatorCoordinatorTest$configureAnimatorProvider$3.invoke(LocationAnimatorCoordinatorTest.kt:75)
at io.mockk.impl.eval.RecordedBlockEvaluator$record$block$1.invoke(RecordedBlockEvaluator.kt:24)
at io.mockk.impl.eval.RecordedBlockEvaluator$enhanceWithRethrow$1.invoke(RecordedBlockEvaluator.kt:76)
at io.mockk.impl.recording.JvmAutoHinter.autoHint(JvmAutoHinter.kt:23)
at io.mockk.impl.eval.RecordedBlockEvaluator.record(RecordedBlockEvaluator.kt:39)
at io.mockk.impl.eval.EveryBlockEvaluator.every(EveryBlockEvaluator.kt:30)
at io.mockk.MockKDsl.internalEvery(API.kt:94)
at io.mockk.MockKKt.every(MockK.kt:143)
at org.maplibre.android.location.LocationAnimatorCoordinatorTest.configureAnimatorProvider(LocationAnimatorCoordinatorTest.kt:75)
at org.maplibre.android.location.LocationAnimatorCoordinatorTest.setUp(LocationAnimatorCoordinatorTest.kt:44)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am starting to see compilation when I update to 1.13.8.
When I use 1.13.9 through 1.13.11 the compilation errors are gone, but I get runtime errors instead.
It seems to have something to do with this class? https://github.com/maplibre/maplibre-native/blob/d3d29cb9d8ac094d6da0d0d90c623d918e502a4d/platform/android/MapLibreAndroid/src/test/java/org/maplibre/android/location/LocationAnimatorCoordinatorTest.kt#L27
Specifially it seems to have something to do with this ominous code:
I am creating an issue instead of a bug report, because I need to dig deeper into the problem to really understand what might be going on. But maybe someone has an idea.
1.13.8 - Compilation errors
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/style/expressions/Expression.java:5052: error: cannot access Array
int len = java.lang.reflect.Array.getLength(object);
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/java/lang/reflect/Array.class)
unable to access file: java.nio.channels.ClosedByInterruptException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:58: error: cannot access XmlPullParser
View view = LayoutInflater.from(mapView.getContext()).inflate(layoutResId, mapView, false);
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/org/xmlpull/v1/XmlPullParser.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:90: error: cannot access OnLongClickListener
view.setOnLongClickListener(new View.OnLongClickListener() {
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/android/view/View$OnLongClickListener.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:91: error: method does not override or implement a method from a supertype
@OverRide
^
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:135: error: cannot access MeasureSpec
view.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED);
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/android/view/View$MeasureSpec.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:135: error: cannot find symbol
view.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED);
^
symbol: variable MeasureSpec
location: class View
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:258: error: cannot access id
TextView titleTextView = ((TextView) view.findViewById(R.id.infowindow_title));
^
bad class file: /Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/build/intermediates/compile_r_class_jar/drawableDebug/R.jar(/org/maplibre/android/R$id.class)
unable to access file: java.nio.channels.ClosedByInterruptException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:260: error: cannot access OnPreDrawListener
titleTextView.setText(title);
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/android/view/ViewTreeObserver$OnPreDrawListener.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/annotations/InfoWindow.java:267: error: cannot find symbol
TextView snippetTextView = ((TextView) view.findViewById(R.id.infowindow_description));
^
symbol: variable id
location: class R
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/location/LocationComponentOptions.java:213: error: cannot access NullPointerException
throw new NullPointerException("Null padding");
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/java/lang/NullPointerException.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/location/LocationComponentOptions.java:213: error: cannot access NullPointerException
throw new NullPointerException("Null padding");
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/java/lang/NullPointerException.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/location/LocationComponentOptions.java:1743: error: cannot find symbol
throw new NullPointerException("Null padding");
^
symbol: class NullPointerException
location: class Builder
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/location/LocationComponentOptions.java:1743: error: cannot find symbol
throw new NullPointerException("Null padding");
^
symbol: class NullPointerException
location: class Builder
/Users/bart/src/maplibre-native/platform/android/MapLibreAndroid/src/main/java/org/maplibre/android/location/LocationAnimatorCoordinator.java:209: error: cannot access BaseInterpolator
options.pulseInterpolator() == null ? new DecelerateInterpolator() : options.pulseInterpolator());
^
bad class file: /Users/bart/Library/Android/sdk/platforms/android-34/android.jar(/android/view/animation/BaseInterpolator.class)
unable to access file: java.nio.channels.ClosedChannelException
Please remove or make sure it appears in the correct subdirectory of the classpath.
1.13.10+ - Runtime error
kotlin.reflect.jvm.internal.KotlinReflectionInternalError: Unresolved class: class org.maplibre.android.location.LocationAnimatorCoordinatorTest$configureAnimatorProvider$1$$Lambda$307/0x0000000800b4fb38
at kotlin.reflect.jvm.internal.KClassImpl.reportUnresolvedClass(KClassImpl.kt:328)
at kotlin.reflect.jvm.internal.KClassImpl.access$reportUnresolvedClass(KClassImpl.kt:44)
at kotlin.reflect.jvm.internal.KClassImpl$Data$descriptor$2.invoke(KClassImpl.kt:56)
at kotlin.reflect.jvm.internal.KClassImpl$Data$descriptor$2.invoke(KClassImpl.kt:48)
at kotlin.reflect.jvm.internal.ReflectProperties$LazySoftVal.invoke(ReflectProperties.java:93)
at kotlin.reflect.jvm.internal.ReflectProperties$Val.getValue(ReflectProperties.java:32)
at kotlin.reflect.jvm.internal.KClassImpl$Data.getDescriptor(KClassImpl.kt:48)
at kotlin.reflect.jvm.internal.KClassImpl.getDescriptor(KClassImpl.kt:182)
at kotlin.reflect.jvm.internal.KClassImpl.isValue(KClassImpl.kt:290)
at io.mockk.impl.InternalPlatform.isValueClass(InternalPlatform.kt:65)
at io.mockk.impl.InternalPlatform.packRef(InternalPlatform.kt:70)
at io.mockk.impl.recording.states.RecordingState.matcher(RecordingState.kt:52)
at io.mockk.impl.recording.CommonCallRecorder.matcher(CommonCallRecorder.kt:52)
at org.maplibre.android.location.LocationAnimatorCoordinatorTest$configureAnimatorProvider$3.invoke(LocationAnimatorCoordinatorTest.kt:811)
at org.maplibre.android.location.LocationAnimatorCoordinatorTest$configureAnimatorProvider$3.invoke(LocationAnimatorCoordinatorTest.kt:75)
at io.mockk.impl.eval.RecordedBlockEvaluator$record$block$1.invoke(RecordedBlockEvaluator.kt:24)
at io.mockk.impl.eval.RecordedBlockEvaluator$enhanceWithRethrow$1.invoke(RecordedBlockEvaluator.kt:76)
at io.mockk.impl.recording.JvmAutoHinter.autoHint(JvmAutoHinter.kt:23)
at io.mockk.impl.eval.RecordedBlockEvaluator.record(RecordedBlockEvaluator.kt:39)
at io.mockk.impl.eval.EveryBlockEvaluator.every(EveryBlockEvaluator.kt:30)
at io.mockk.MockKDsl.internalEvery(API.kt:94)
at io.mockk.MockKKt.every(MockK.kt:143)
at org.maplibre.android.location.LocationAnimatorCoordinatorTest.configureAnimatorProvider(LocationAnimatorCoordinatorTest.kt:75)
at org.maplibre.android.location.LocationAnimatorCoordinatorTest.setUp(LocationAnimatorCoordinatorTest.kt:44)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:580)
at org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:287)
at org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:99)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Beta Was this translation helpful? Give feedback.
All reactions