Skip to content

RangeMarker causes crash when transparent #24

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Create a RangeMarker with a transparent Color, eg, new Color(255, 255, 255, 
0)
2. Assign this Range Marker to a chart
3. Attempt to generate the URL for the chart

What is the expected output? What do you see instead?
A Range Marker with transparent colouring is expected - instead the application 
crashes with an index out of bounds error in the getAppendableFeatures method 
of RangeMarker

What version of the product are you using? On what operating system?
Using version 1.1 of the googlechartwrapper on Windows 7

Please provide any additional information below.
This is caused by the same problem as issue #22.  The only difference is that 
in the case of issue #22 , the code is trying to cater for transparency, but 
fails.  In the case of the Range Marker, if the code worked it would not add 
transparency when required, however the root cause of the crash is the same.  
The fix for #22 needs to be applied to RangeMarker to prevent the crash and add 
transparency.

Original issue reported on code.google.com by leac...@gmail.com on 21 Feb 2012 at 9:09

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions