java.lang.AssertionError: illegal type variable reference


Solutions on the web

Solution icon of stackoverflow
via Stack Overflow by genesisxyz
, 9 months ago
illegal type variable reference

Solution icon of github
via GitHub by yoavst
, 1 year ago
illegal type variable reference

Solution icon of github
via GitHub by benju69
, 1 year ago
illegal type variable reference

Solution icon of stackoverflow
illegal type variable reference

Stack trace

java.lang.AssertionError: illegal type variable reference
	at libcore.reflect.TypeVariableImpl.resolve(TypeVariableImpl.java:111)
	at libcore.reflect.TypeVariableImpl.getGenericDeclaration(TypeVariableImpl.java:125)
	at libcore.reflect.TypeVariableImpl.hashCode(TypeVariableImpl.java:47)
	at java.util.Arrays.hashCode(Arrays.java:4153)
	at com.google.gson.internal.$Gson$Types$ParameterizedTypeImpl.hashCode($Gson$Types.java:479)
	at com.google.gson.reflect.TypeToken.<init>(TypeToken.java:64)
	at com.company.server.Calls$4.<init>(Calls.java:244)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago