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

Not running in Tablet #128

Closed
YashNagayach opened this issue Jul 10, 2018 · 4 comments
Closed

Not running in Tablet #128

YashNagayach opened this issue Jul 10, 2018 · 4 comments

Comments

@YashNagayach
Copy link

Process: com.app.goveva, PID: 1792
java.lang.NullPointerException: Attempt to get length of null array
at com.inqbarna.tablefixheaders.TableFixHeaders.sumArray(TableFixHeaders.java:616)
at com.inqbarna.tablefixheaders.TableFixHeaders.computeHorizontalScrollOffset(TableFixHeaders.java:356)

Getting this when running on the tablet or any other android bigger size device (> 5").
But running properly on smaller devices(<= 5")

@BraisGabin
Copy link
Collaborator

There's nothing at line 616. Anyway this crash is not related with the device size. It must be your code doing different things depend on device display size. Why is the array null?

@iman2420
Copy link

Do you implement TableFixHeaders view in separate threat??

@sandeepyohans
Copy link

sandeepyohans commented Sep 19, 2019

I'm getting this exception after adding following line in xml layout code:
android:scrollbars="horizontal|vertical"
After removing this line it works fine.
Note: I'm running it on Mobile phone with Android 8.1

@mkkabi
Copy link

mkkabi commented Aug 17, 2020

was anyone able to find a solution to this issue? I'm trying to get this resolved in one of my applications. Already tried everything I could think of. A funny thing is that it works fine in another app. I've tried to replicate everything I could related to the implementation of the tablefixedheaders or even to how that other app uses it. And the issue is still there.

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

5 participants