Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesnt work with Android 9 #87

Closed
Kolyall opened this issue Oct 15, 2020 · 2 comments
Closed

Doesnt work with Android 9 #87

Kolyall opened this issue Oct 15, 2020 · 2 comments

Comments

@Kolyall
Copy link

Kolyall commented Oct 15, 2020

TargetSdkVersion = 28, CompileSdkVersion = 28
device: Android 9

Input file is "myfile.xlsx"

val workbook = XSSFWorkbook(file.absolutePath)
val outputStream = FileOutputStream(file.absolutePath) 
workbook.write(outputStream)
outputStream.close()
workbook.close()

Crashes with error:

A/libc: Fatal signal 7 (SIGBUS), code 2 (BUS_ADRERR), fault addr 0xea862b86

By debug it failed on this line:

org.apache.poi.POIXMLProperties:: line 46
@centic9
Copy link
Owner

centic9 commented Jan 31, 2022

Crashes like this indicate some lower-level problem than pure Java code. You can check system logs at that time to see if there were any related issues on the operation-system. Other than that I don't know enough about Android development to be able to help further, sorry.

@centic9
Copy link
Owner

centic9 commented Feb 8, 2022

Could not reproduce this, so closing for now, in the meantime the project uses SDKVersion 32 without such an issue being reported.

Please reopen this if you still experience this with the latest version, ideally with a small app that allows to easily reproduce this problem.

@centic9 centic9 closed this as completed Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants