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

Can't find field [pngSticker] with signature [Ltd/TdApi$InputFile;] #992

Closed
nekohasekai opened this issue Apr 7, 2020 · 1 comment
Closed

Comments

@nekohasekai
Copy link

I am using the TdApi class generated by ktd and the binary library compiled from the latest commit, is td_api.tl outdated?

[ 1][t 0][1586270397.099805832][tl_jni_object.cpp:37]	Can't find field [pngSticker] with signature [Ltd/TdApi$InputFile;]
FATAL ERROR in native method: Can't find field [pngSticker] with signature [Ltd/TdApi$InputFile;]
	at java.lang.ClassLoader$NativeLibrary.load0(java.base@11.0.6/Native Method)
	at java.lang.ClassLoader$NativeLibrary.load(java.base@11.0.6/ClassLoader.java:2430)
	at java.lang.ClassLoader$NativeLibrary.loadLibrary(java.base@11.0.6/ClassLoader.java:2487)
	- locked <0x00000000c13c76b8> (a java.util.HashSet)
	at java.lang.ClassLoader.loadLibrary0(java.base@11.0.6/ClassLoader.java:2684)
	at java.lang.ClassLoader.loadLibrary(java.base@11.0.6/ClassLoader.java:2617)
	at java.lang.Runtime.load0(java.base@11.0.6/Runtime.java:767)
	- locked <0x00000000c1410608> (a java.lang.Runtime)
	at java.lang.System.load(java.base@11.0.6/System.java:1834)
	at io.github.nekohasekai.nekolib.core.TdLoader.loadInternal(TdLoader.kt:76)
	at io.github.nekohasekai.nekolib.core.TdLoader.tryLoad(TdLoader.kt:66)
	at io.github.nekohasekai.nekolib.core.TdLoader.tryLoad$default(TdLoader.kt:22)
	at io.github.nekohasekai.nekolib.cli.Simple.main(Simple.kt:10)

Process finished with exit code 1
@levlam
Copy link
Contributor

levlam commented Apr 7, 2020

It seems that you are using different TDLib versions 1.6.0 and 1.6.2 simultaneously in different places.

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