Heuristic crashHeuristic crashhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1172690662024-03-29T05:36:28Z2024-03-29T05:36:28ZRE: Heuristic crashLászló Tóthhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1183118022020-01-21T15:08:18Z2020-01-21T15:08:18ZI inspected the apps logs, on newer version it runs good... no error.Thank you!László Tóth2020-01-21T15:08:18ZRE: Heuristic crashLászló Tóthhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1181011772019-12-17T09:21:06Z2019-12-17T09:21:06ZAs you've seen above, I use 7.2.2. I'd like to believe that it shouldn't be possible, but this error is created by endusers mobile. After refreshing to 7.2.2, the error occurrence is less than before in 7.2.1.I don't know how can I check client's lock.I trying to refresh the application one more time.László Tóth2019-12-17T09:21:06ZRE: Heuristic crashVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1180993142019-12-17T08:30:27Z2019-12-17T08:30:27ZHeyIf you have the 7.2.2 version it shouldn't be possible to get that error because we didn't even use a reentrantLock in that class, can you check in your project the class OAuth2AuthenticationRefreshHandler and let me know if this is using the lock?<br />Thanks Victor Galan2019-12-17T08:30:27ZRE: Heuristic crashLászló Tóthhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1180890382019-12-16T16:20:19Z2019-12-16T16:20:19ZThe relevant dependencies<br />+--- com.liferay.mobile:liferay-material-viewset:4.0.1@aar<br />+--- com.liferay.mobile:liferay-screens:5.0.3@aar<br />+--- com.liferay.mobile:liferay-push:1.2.1@aar<br />+--- com.liferay.mobile:liferay-android-sdk:7.2.2@aar<br />+--- com.liferay.mobile:liferay-android-services-v62:7.2.2@aar<br />+--- com.liferay.mobile:liferay-android-services-v7:7.2.2@aar<br />+--- com.liferay.mobile:liferay-android-services-v71:7.2.2@aar<br />+--- com.liferay.mobile:liferay-android-services-v72:7.2.2@aar<br />+--- com.liferay.mobile:liferay-android-sdk-core:7.2.2@aarLászló Tóth2019-12-16T16:20:19ZRE: Heuristic crashVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1180709662019-12-13T11:25:04Z2019-12-13T11:25:04Z<html><head></head><body>Hey,Are you using liferay-screens in the same project? I think it is using a past version imported for liferay-screensCan you check the version used executing <pre><code>./gradlew app:dependencies </code></pre>app is the name of the gradle project, yours can be different <br>I hope it helps <img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif"></body></html>Victor Galan2019-12-13T11:25:04ZRE: Heuristic crashLászló Tóthhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1180637812019-12-12T19:03:17Z2019-12-12T19:03:17Z<html><head></head><body>Now is coming the below exception.... it's not the same, but similar<strong><strong></strong></strong><br><pre><code>java.lang.IllegalMonitorStateException:
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease (ReentrantLock.java:152)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release (AbstractQueuedSynchronizer.java:1285)
at java.util.concurrent.locks.ReentrantLock.unlock (ReentrantLock.java:458)
at com.liferay.mobile.android.auth.refresh.OAuth2AuthenticationRefreshHandler$1.onFailure (OAuth2AuthenticationRefreshHandler.java:45)
at com.liferay.mobile.android.auth.oauth2.TokenRequester$1.onFailure (TokenRequester.java:93)
at com.squareup.okhttp.Call$AsyncCall.execute (Call.java:185)
at com.squareup.okhttp.internal.NamedRunnable.run (NamedRunnable.java:33)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:764)
</code></pre></body></html>László Tóth2019-12-12T19:03:17ZRE: Heuristic crashLászló Tóthhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1180472472019-12-11T09:35:54Z2019-12-11T09:35:54ZI've modified the dependency to the 7.2.2., but the the error is still coming! László Tóth2019-12-11T09:35:54ZRE: Heuristic crashVictor Galanhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1173339262019-10-01T13:58:35Z2019-10-01T13:58:35ZHey, this should be fixed with the 7.2.2 version of the liferay-mobile-sdk-coreVictor Galan2019-10-01T13:58:35ZHeuristic crashLászló Tóthhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1172690652019-09-24T10:31:14Z2019-09-24T10:31:14Z<html><head></head><body>Hi!<br>I use screenlets (usually AssetListScreenlet or WebContentDisplayScreenlet) to display contents, but sometimes it's crashing with this error:<br><pre><code>java.lang.IllegalMonitorStateException:
at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease (ReentrantLock.java:152)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.release (AbstractQueuedSynchronizer.java:1285)
at java.util.concurrent.locks.ReentrantLock.unlock (ReentrantLock.java:458)
at com.liferay.mobile.android.auth.refresh.OAuth2AuthenticationRefreshHandler$1.onFailure (OAuth2AuthenticationRefreshHandler.java:45)
at com.liferay.mobile.android.auth.oauth2.TokenRequest