whitespace COMPANY whitespace SERVICES whitespace PRODUCTS whitespace PURCHASE whitespace SUPPORT whitespace CONTACTS whitespace Home whitespace Contact Us whitespace Site Map whitespace
whitespace
SUPPORT
whitespace
FORUM
whitespace
FAQS
whitespace
SUBSCRIPTION
whitespace
REQUEST ON-LINE
whitespace
whitespace

Technical Support Forum

Welcome Guest Search | Active Topics | Log In | Register

NullPointerException Options · View
aallllaann
#1 Posted : Monday, May 21, 2012 11:20:54 AM
Rank: Member

Groups: Registered

Joined: 3/8/2011
Posts: 11
im getting an NPE in com.artfulbits.aiCharts.ChartGestureListener.onScroll class

my chart has 3 line series. hittest and panning is enabled.

NPE occurs when user touches any line series. please see attached images for stacktrace and chart

weird part is this works on Samsung Galaxy S2 running ICS while the error occurs on Samsung Galaxy 5 running FROYO.
aallllaann attached the following image(s):
stacktrace.JPG (85kb) downloaded 69 time(s).
chart.jpg (255kb) downloaded 68 time(s).
Baydalka Volodymyr
#2 Posted : Tuesday, May 22, 2012 10:28:38 AM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
Hi,

Unfortunately, we can't reproduce that issue. Could you provide initialization code or sample that demonstrate this bug.

Best regards,
Volodymyr Baydalka
Andriod development and support team
aallllaann
#3 Posted : Wednesday, May 23, 2012 8:21:57 AM
Rank: Member

Groups: Registered

Joined: 3/8/2011
Posts: 11
i created an android eclipse project to recreate this issue.


NOTE:
on Samsung Galaxy S2 ICS this project works without any error but for a Samsung I5500 Galaxy 5 phone (android 2.2), when you press any of the line series a NullPointerException occurs.
File Attachment(s):
GraphTest.rar (261kb) downloaded 4 time(s).
aallllaann
#4 Posted : Thursday, June 07, 2012 11:03:04 AM
Rank: Member

Groups: Registered

Joined: 3/8/2011
Posts: 11
help anyone?

i dont know how to fix this issue as the NPE occurs in aicharts code not mine. any help please?
Baydalka Volodymyr
#5 Posted : Thursday, June 07, 2012 11:28:42 AM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
Hi,

We don't have ability to test it on Galaxy phone at this moment. However, try to use latest version of aiChart library.

Best regards,
Volodymyr Baydalka
Andriod development and support team
aallllaann
#6 Posted : Monday, June 11, 2012 9:36:00 AM
Rank: Member

Groups: Registered

Joined: 3/8/2011
Posts: 11
i already tried the latest library but i get the same result - a NPE.

is there any way to avoid this? any reason why im getting a NPE in ChartGestureListener.onScroll?
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Company | Services | Practices | Technologies | Career | Contacts | Privacy
© 2005-2017 ArtfulBits. All rights reserved.