Title: Android: No virtual method position(I)Ljava/nio/ByteBuffer · Issue #516 · msgpack/msgpack-java · GitHub
Open Graph Title: Android: No virtual method position(I)Ljava/nio/ByteBuffer · Issue #516 · msgpack/msgpack-java
X Title: Android: No virtual method position(I)Ljava/nio/ByteBuffer · Issue #516 · msgpack/msgpack-java
Description: Since version 0.8.19, our Android CI (using Android 5 and 6 devices) started failing on a msgpack test. Here's a simplified reproducer: @RunWith(AndroidJUnit4.class) @SmallTest public class MsgpackTest { @Test public void testPutString()...
Open Graph Description: Since version 0.8.19, our Android CI (using Android 5 and 6 devices) started failing on a msgpack test. Here's a simplified reproducer: @RunWith(AndroidJUnit4.class) @SmallTest public class Msgpack...
X Description: Since version 0.8.19, our Android CI (using Android 5 and 6 devices) started failing on a msgpack test. Here's a simplified reproducer: @RunWith(AndroidJUnit4.class) @SmallTest public class Msg...
Opengraph URL: https://github.com/msgpack/msgpack-java/issues/516
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Android: No virtual method position(I)Ljava/nio/ByteBuffer","articleBody":"Since version 0.8.19, our Android CI (using Android 5 and 6 devices) started failing on a msgpack test. Here's a simplified reproducer:\r\n\r\n```java\r\n@RunWith(AndroidJUnit4.class)\r\n@SmallTest\r\npublic class MsgpackTest {\r\n\t@Test\r\n\tpublic void testPutString() throws Exception {\r\n\t\tByteArrayOutputStream out = new ByteArrayOutputStream();\r\n\t\tMessagePacker packer = MessagePack.newDefaultPacker(out);\r\n\t\tpacker.packString(\"hello android\");\r\n\t}\r\n}\r\n```\r\n\r\nThe error message:\r\n\r\n```\r\njava.lang.NoSuchMethodError: No virtual method position(I)Ljava/nio/ByteBuffer; in class Ljava/nio/ByteBuffer; or its super classes (declaration of 'java.nio.ByteBuffer' appears in /system/framework/core-libart.jar)\r\n at org.msgpack.core.buffer.MessageBufferU.resetBufferPosition(MessageBufferU.java:70)\r\n at org.msgpack.core.buffer.MessageBufferU.putBytes(MessageBufferU.java:232)\r\n at org.msgpack.core.MessagePacker.addPayload(MessagePacker.java:1073)\r\n at org.msgpack.core.MessagePacker.addPayload(MessagePacker.java:1043)\r\n at org.msgpack.core.MessagePacker.packStringWithGetBytes(MessagePacker.java:659)\r\n at org.msgpack.core.MessagePacker.packString(MessagePacker.java:732)\r\n ...\r\n```\r\n\r\nThis is most probably due to the changes in #514 (cc @ppkarwasz). The test succeeds when running with msgpack-core version 0.8.18.","author":{"url":"https://github.com/dbrgn","@type":"Person","name":"dbrgn"},"datePublished":"2019-11-21T15:00:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/516/msgpack-java/issues/516"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:eda00b9f-1ef8-f1b6-aca9-0abfc438ace2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD78:1247D9:38286F:5126F2:6A588872 |
| html-safe-nonce | bbe65cd87591b0a1376c5deb270da17ed1076a65dddde8ed8a1d0216062a26db |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDc4OjEyNDdEOTozODI4NkY6NTEyNkYyOjZBNTg4ODcyIiwidmlzaXRvcl9pZCI6IjY1NDExNDk5ODU3MzYwMDE2NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dc312f3ab40da679949604a2e833b4f77e14fff0d54c67510627e910cfc839be |
| hovercard-subject-tag | issue:526649078 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/msgpack/msgpack-java/516/issue_layout |
| twitter:image | https://opengraph.githubassets.com/871ff14caaa73835891c425ecce5cccff297f32b6ee365880931042d2bad32da/msgpack/msgpack-java/issues/516 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/871ff14caaa73835891c425ecce5cccff297f32b6ee365880931042d2bad32da/msgpack/msgpack-java/issues/516 |
| og:image:alt | Since version 0.8.19, our Android CI (using Android 5 and 6 devices) started failing on a msgpack test. Here's a simplified reproducer: @RunWith(AndroidJUnit4.class) @SmallTest public class Msgpack... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dbrgn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/msgpack/msgpack-java git https://github.com/msgpack/msgpack-java.git |
| octolytics-dimension-user_id | 198264 |
| octolytics-dimension-user_login | msgpack |
| octolytics-dimension-repository_id | 1971346 |
| octolytics-dimension-repository_nwo | msgpack/msgpack-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1971346 |
| octolytics-dimension-repository_network_root_nwo | msgpack/msgpack-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width