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

[Bug]: Pointer tag was truncated error #3146

Closed
anzhi0708 opened this issue Dec 17, 2022 · 2 comments
Closed

[Bug]: Pointer tag was truncated error #3146

anzhi0708 opened this issue Dec 17, 2022 · 2 comments

Comments

@anzhi0708
Copy link

Problem description

This could be an openjdk-17 issue; I was using a Python NLP package (see konlpy/konlpy#418) which depends on Java (wrapped with Py4j) and "Pointer tag for 0x76ca5e1860 was truncated." was printed, and program was aborted.

Steps to reproduce the behavior.

  1. Install openjdk-17
  2. Install the Python package konlpy
  3. Try to create a konlpy.tag.Kkma instance with kkma = Kkma()
  4. Aborted

What is the expected behavior?

I expected the instance to be created.

System information

  • Termux application version: 0.118.0
  • Android OS version: 11
  • Device model: OPPO Reno2 (PCKM00, ColorOS 11.1)
@Haiz14
Copy link

Haiz14 commented Dec 23, 2022

I am trying to replicate your issue, i did everything you did but i get this error No JVM shared library file (libjvm.so) found. Try s etting up the JAVA_HOME environment variable properly.

I did set $JAVA_HOME but it doesn't solve the issue echo $JAVA_HOME /data/data/com.termux/files/usr/bin/java

@agnostic-apollo
Copy link
Member

Check termux/termux-packages#7332

I did set $JAVA_HOME but it doesn't solve the issue

export JAVA_HOME="$PREFIX/opt/openjdk"

@agnostic-apollo agnostic-apollo closed this as not planned Won't fix, can't repro, duplicate, stale Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants