You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2021/12/10 17:56:26 UTC

[Bug 65739] New: string terminator warning in CodePageString

https://bz.apache.org/bugzilla/show_bug.cgi?id=65739

            Bug ID: 65739
           Summary: string terminator warning in CodePageString
           Product: POI
           Version: 5.0.x-dev
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HPSF
          Assignee: dev@poi.apache.org
          Reporter: tallison@apache.org
  Target Milestone: ---

In trying to migrate Apache Tika to 5.1.0, I noticed that I'm getting
"org.apache.poi.hpsf.CodePageString String terminator (\0) for CodePageString
property value occurred before the end of string" on quite a few of our unit
test files.

If I'm seeing it this often in our unit test files, is it really a problem that
should be logged or is there something we can do in our code so that it is no
longer a problem?

One triggering file is this one:
https://github.com/apache/tika/blob/main/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/test/resources/test-documents/testEXCEL_embeddedPDF_mac.xls

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65739] string terminator warning in CodePageString

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65739

--- Comment #2 from Tim Allison <ta...@apache.org> ---
It feels like the problem is that the part that reads the keys shouldn't be
including the \u0000.  I, also, am not that familiar with this part of the
code.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 65739] string terminator warning in CodePageString

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65739

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
I added r1895794 - I'm no expert on the H*** part of the POI lib but if this
issue doesn't stop us from successfully reading the files, maybe best to
quieten the logs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org