[Bug 66663] org.springframework.web.util.NestedServletException handler dispatch failed Could not initialize class sun.awt.X11FontManager

2023-06-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=3

--- Comment #3 from Shubham patil  ---
Appreciated,
Thanks for the quick response.

I have added Djava.awt.headless=true line and rerun my application but facing
other issue.

..
Now I am getting java.lang.UnsatisfiedLink Error
usr/pkg/java/openjdk7/jre/lib/amd64   libfontmanager.so Shared object
libfreetype.so.7" not found.

Kindly help

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



[Bug 66663] org.springframework.web.util.NestedServletException handler dispatch failed Could not initialize class sun.awt.X11FontManager

2023-06-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=3

PJ Fanning  changed:

   What|Removed |Added

 Resolution|--- |INVALID
 Status|NEW |RESOLVED

--- Comment #2 from PJ Fanning  ---
This is a bug tracker. If you have usage problems, stackoverflow.com is a
better solution. There are plenty of questions on there already about X11
setup.

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



[Bug 66663] org.springframework.web.util.NestedServletException handler dispatch failed Could not initialize class sun.awt.X11FontManager

2023-06-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=3

--- Comment #1 from sfis...@gmail.com ---
you might need to pass -Djava.awt.headless=true to the jvm launched inside the
docker image

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



[Bug 66663] New: org.springframework.web.util.NestedServletException handler dispatch failed Could not initialize class sun.awt.X11FontManager

2023-06-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=3

Bug ID: 3
   Summary: org.springframework.web.util.NestedServletException
handler dispatch failed Could not initialize class
sun.awt.X11FontManager
   Product: POI
   Version: 5.2.2-FINAL
  Hardware: Other
OS: Linux
Status: NEW
  Severity: blocker
  Priority: P2
 Component: XSSF
  Assignee: dev@poi.apache.org
  Reporter: shubhampaydo...@gmail.com
  Target Milestone: ---

I am using jdk 11 and Apache poi 5.2.0 lib.
I am getting org.springframework.web.util.NestedServletException handler
dispatch failed Could not initialize class sun.awt.X11FontManager exception
when I am running my Excel utility application in docker environment.
Kindly help me on this.
Thanks

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



[GitHub] [poi] pjfanning opened a new pull request, #478: [DRAFT] try not rewriting cell formulas - causes problems

2023-06-21 Thread via GitHub


pjfanning opened a new pull request, #478:
URL: https://github.com/apache/poi/pull/478

   (no comment)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] [poi] tballison commented on pull request #477: Bug47950 -- make stream/directory name lookup in OLE2 case insensitive

2023-06-21 Thread via GitHub


tballison commented on PR #477:
URL: https://github.com/apache/poi/pull/477#issuecomment-1601257966

   I look forward to running the regression tests after this change. :smile: 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] [poi] tballison commented on a diff in pull request #477: Bug47950 -- make stream/directory name lookup in OLE2 case insensitive

2023-06-21 Thread via GitHub


tballison commented on code in PR #477:
URL: https://github.com/apache/poi/pull/477#discussion_r1237326799


##
poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java:
##
@@ -297,11 +298,15 @@ public static String 
getWorkbookDirEntryName(DirectoryNode directory) {
 "It must be decrypted before use by XSSF, it cannot be 
used by HSSF");
 }
 
-// check for previous version of file format
-if (directory.hasEntry(OLD_WORKBOOK_DIR_ENTRY_NAME)) {

Review Comment:
   Y, I don't like the backwards compatibility break that this proposed change 
brings about.  If we don't do this, though, then we'll have to change 
`hasEntry(name)` and `getEntry(name)` to the case insensitive options 
throughout our codebase.  I can do that if desired.
   
   Yep, I'll add that now.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] [poi] dependabot[bot] commented on pull request #476: Bump bouncyCastleVersion from 1.74 to 1.75

2023-06-21 Thread via GitHub


dependabot[bot] commented on PR #476:
URL: https://github.com/apache/poi/pull/476#issuecomment-1601240187

   OK, I won't notify you again about this release, but will get in touch when 
a new version is available. You can also ignore all major, minor, or patch 
releases for a dependency by adding an [`ignore` 
condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore)
 with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts 
on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] [poi] dependabot[bot] commented on pull request #475: Bump org.mockito:mockito-core from 4.11.0 to 5.4.0

2023-06-21 Thread via GitHub


dependabot[bot] commented on PR #475:
URL: https://github.com/apache/poi/pull/475#issuecomment-1601240214

   OK, I won't notify you again about this release, but will get in touch when 
a new version is available. If you'd rather skip all updates until the next 
major or minor version, let me know by commenting `@dependabot ignore this 
major version` or `@dependabot ignore this minor version`. You can also ignore 
all major, minor, or patch releases for a dependency by adding an [`ignore` 
condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore)
 with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts 
on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] [poi] asfgit closed pull request #476: Bump bouncyCastleVersion from 1.74 to 1.75

2023-06-21 Thread via GitHub


asfgit closed pull request #476: Bump bouncyCastleVersion from 1.74 to 1.75
URL: https://github.com/apache/poi/pull/476


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] [poi] asfgit closed pull request #475: Bump org.mockito:mockito-core from 4.11.0 to 5.4.0

2023-06-21 Thread via GitHub


asfgit closed pull request #475: Bump org.mockito:mockito-core from 4.11.0 to 
5.4.0
URL: https://github.com/apache/poi/pull/475


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] [poi] pjfanning commented on a diff in pull request #477: Bug47950 -- make stream/directory name lookup in OLE2 case insensitive

2023-06-21 Thread via GitHub


pjfanning commented on code in PR #477:
URL: https://github.com/apache/poi/pull/477#discussion_r1237313858


##
poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java:
##
@@ -297,11 +298,15 @@ public static String 
getWorkbookDirEntryName(DirectoryNode directory) {
 "It must be decrypted before use by XSSF, it cannot be 
used by HSSF");
 }
 
-// check for previous version of file format
-if (directory.hasEntry(OLD_WORKBOOK_DIR_ENTRY_NAME)) {
+// check case-sensitive for previous version of file format
+if (directory.getEntryNames().contains(OLD_WORKBOOK_DIR_ENTRY_NAME)) {
 throw new OldExcelFormatException("The supplied spreadsheet seems 
to be Excel 5.0/7.0 (BIFF5) format. "
 + "POI only supports BIFF8 format (from Excel versions 
97/2000/XP/2003)");
 }
+//check for non-case-senstive book (e.g. crystal) after ruling out 
case-sensitive OldExcelFormatException

Review Comment:
   minor type - should be `sensitive`



##
poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java:
##
@@ -297,11 +298,15 @@ public static String 
getWorkbookDirEntryName(DirectoryNode directory) {
 "It must be decrypted before use by XSSF, it cannot be 
used by HSSF");
 }
 
-// check for previous version of file format
-if (directory.hasEntry(OLD_WORKBOOK_DIR_ENTRY_NAME)) {
+// check case-sensitive for previous version of file format
+if (directory.getEntryNames().contains(OLD_WORKBOOK_DIR_ENTRY_NAME)) {
 throw new OldExcelFormatException("The supplied spreadsheet seems 
to be Excel 5.0/7.0 (BIFF5) format. "
 + "POI only supports BIFF8 format (from Excel versions 
97/2000/XP/2003)");
 }
+//check for non-case-senstive book (e.g. crystal) after ruling out 
case-sensitive OldExcelFormatException

Review Comment:
   minor typo - should be `sensitive`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] [poi] pjfanning commented on a diff in pull request #477: Bug47950 -- make stream/directory name lookup in OLE2 case insensitive

2023-06-21 Thread via GitHub


pjfanning commented on code in PR #477:
URL: https://github.com/apache/poi/pull/477#discussion_r1237313415


##
poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java:
##
@@ -297,11 +298,15 @@ public static String 
getWorkbookDirEntryName(DirectoryNode directory) {
 "It must be decrypted before use by XSSF, it cannot be 
used by HSSF");
 }
 
-// check for previous version of file format
-if (directory.hasEntry(OLD_WORKBOOK_DIR_ENTRY_NAME)) {

Review Comment:
   Not a big deal if this is too hard but is there any chance that `hasEntry` 
could remain case sensitive for backward compatibility reasons? And a new 
`caseInsensitiveHasEntry` added?
   
   If leaving `hasEntry` case sensitive is too hard, could you could not using 
`directory.getEntryNames().contains` and adding a `caseSensitiveHasEntry` 
instead?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 47950] No case insensitivity handling for OLE2 entry names

2023-06-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=47950

--- Comment #12 from Tim Allison  ---
Ugh, ugh, ugh.  Ross Johnson.  Please forgive me.

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



[Bug 47950] No case insensitivity handling for OLE2 entry names

2023-06-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=47950

--- Comment #11 from Tim Allison  ---
I opened: https://github.com/apache/poi/pull/477

The one challenge is that we do rely on case sensitivity for "Book" vs "BOOK". 
We use the former as an indicator of the old excel format, and the latter can
occur in some regular xls Crystal reports... So there are some less than great
workaround to get everything to work.

If there's a simpler way of doing this and/or of identifying the old excel
formats, that'd be great.

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



[GitHub] [poi] tballison opened a new pull request, #477: Bug47950 -- make stream/directory name lookup in OLE2 case insensitive

2023-06-21 Thread via GitHub


tballison opened a new pull request, #477:
URL: https://github.com/apache/poi/pull/477

   This is a first draft at making stream/directory name look up case 
insensitive for OLE2 containers.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] [poi] dependabot[bot] opened a new pull request, #476: Bump bouncyCastleVersion from 1.74 to 1.75

2023-06-21 Thread via GitHub


dependabot[bot] opened a new pull request, #476:
URL: https://github.com/apache/poi/pull/476

   Bumps `bouncyCastleVersion` from 1.74 to 1.75.
   Updates `org.bouncycastle:bcpkix-jdk18on` from 1.74 to 1.75
   
   Changelog
   Sourced from https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html";>org.bouncycastle:bcpkix-jdk18on's
 changelog.
   
   
   
   
   2.1.1 Version
   Release: 1.75
   Date:  2023, June 21st
   
   2.2.1 Version
   Release: 1.74
   Date:  2023, June 12th
   
   
   ... (truncated)
   
   
   Commits
   
   See full diff in https://github.com/bcgit/bc-java/commits";>compare view
   
   
   
   
   Updates `org.bouncycastle:bcutil-jdk18on` from 1.74 to 1.75
   
   Changelog
   Sourced from https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html";>org.bouncycastle:bcutil-jdk18on's
 changelog.
   
   
   
   
   2.1.1 Version
   Release: 1.75
   Date:  2023, June 21st
   
   2.2.1 Version
   Release: 1.74
   Date:  2023, June 12th
   
   
   ... (truncated)
   
   
   Commits
   
   See full diff in https://github.com/bcgit/bc-java/commits";>compare view
   
   
   
   
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   
   Dependabot commands and options
   
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI 
passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and 
block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. 
You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] [poi] arturobernalg closed pull request #369: Extract common If statements to a common parts.

2023-06-21 Thread via GitHub


arturobernalg closed pull request #369: Extract common If statements to a 
common parts.
URL: https://github.com/apache/poi/pull/369


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] [poi] arturobernalg closed pull request #370: Avoid duplicated switch statements code.

2023-06-21 Thread via GitHub


arturobernalg closed pull request #370: Avoid duplicated switch statements code.
URL: https://github.com/apache/poi/pull/370


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] [poi] arturobernalg closed pull request #368: Remove unnecessarily escaped characters.

2023-06-21 Thread via GitHub


arturobernalg closed pull request #368: Remove unnecessarily escaped characters.
URL: https://github.com/apache/poi/pull/368


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 66661] Issue with table formulas being modified by POI

2023-06-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=1

--- Comment #2 from PJ Fanning  ---
Thanks ManiacTwister. We do need to make POI changes. PR 269 has got some
problems.

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



[Bug 66661] Issue with table formulas being modified by POI

2023-06-21 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=1

--- Comment #1 from ManiacTwister  ---
Thanks for your effort.

I can confirm using the workaround `setCellFormulaValidation(false)` fixes the
problem for my testcase as well as for my real use case.

Let me know if i can help/test anything to fix the issue.

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