GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Unexpected UTF-8 encoder state · Issue #371 · msgpack/msgpack-java

Unexpected UTF-8 encoder state #371

New issue
Copy link
New issue
Copy link
Closed
Closed
Unexpected UTF-8 encoder state#371
Copy link

Description

@Romanow
Romanow
opened on Jun 20, 2016
Issue body actions

In org.msgpack:jackson-dataformat-msgpack:0.8.7 method MessagePacker::packString throw IllegalArgumentException("Unexpected UTF-8 encoder state") (line number 560).
In happens when string to encode less 2^16 and encoded string is greater then 2^16. In condition written >= (1 << 32) variable written has type int and condition 1 << 32 evaluates to 1 because 1 is long and there are type overflow.

Activity

  1. komamitsu commented on Jul 8, 2016

    @komamitsu
    komamitsu
    on Jul 8, 2016
    Member
    More actions

    @Romanow Sorry for my late reply. Could you show me a reproducible code?

  2. frsyuki commented on Jul 20, 2016

    @frsyuki
    frsyuki
    on Jul 20, 2016
    Member
    More actions

    #375 fixes this issue.

  3. komamitsu
    closed this as completedon Aug 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.