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! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
aallllaann  
#1 Posted : Monday, May 21, 2012 1:20:54 PM(UTC)
aallllaann
Rank: Member

Groups: Registered
Joined: 3/8/2011(UTC)
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).

You cannot view/download attachments. Try to login or register.
Baydalka Volodymyr  
#2 Posted : Tuesday, May 22, 2012 12:28:38 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

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 10:21:57 AM(UTC)
aallllaann
Rank: Member

Groups: Registered
Joined: 3/8/2011(UTC)
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).

You cannot view/download attachments. Try to login or register.
aallllaann  
#4 Posted : Thursday, June 7, 2012 1:03:04 PM(UTC)
aallllaann
Rank: Member

Groups: Registered
Joined: 3/8/2011(UTC)
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 7, 2012 1:28:42 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

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 11:36:00 AM(UTC)
aallllaann
Rank: Member

Groups: Registered
Joined: 3/8/2011(UTC)
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)
Similar Topics
Android 3.2.1 - validateLicense - java.lang.NullPointerException (Android OS)
by donal 1/24/2012 11:11:59 PM(UTC)
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.