Skip to main content



      Home
Home » Archived » BIRT » NullPointerException on chart with mouseover tooltip(NullPointerException on chart when adding mouseover tooltip to series)
NullPointerException on chart with mouseover tooltip [message #1028072] Wed, 27 March 2013 16:02 Go to next message
Eclipse UserFriend
Hi,
I'm getting a NullPointerException on a chart whenever I add anything to the mouseover tooltip text to the Value Series. It works fine on other reports, but for some reason this particular report doesn't like it.
This is BIRT 3.7.2, and I verified the only change to the report XML was the single line change from
<Triggers>
          <Condition>onmouseover</Condition>
          <Action>
            <Type>Show_Tooltip</Type>
            <Value xsi:type="attribute:TooltipValue">
              <Text></Text>
              <Delay>200</Delay>
            </Value>
          </Action>
        </Triggers>

to
line change from
<Triggers>
          <Condition>onmouseover</Condition>
          <Action>
            <Type>Show_Tooltip</Type>
            <Value xsi:type="attribute:TooltipValue">
              <Text>&quot;Example&quot;;</Text>
              <Delay>200</Delay>
            </Value>
          </Action>
        </Triggers>

Also it seemed odd to me that onmouseover was in its own <Triggers></Triggers> block, although there's a separate block above it for onclick which works fine. I tried manually moving the contents to the first <Triggers> block with no luck.

[Updated on: Wed, 27 March 2013 16:03] by Moderator

Re: NullPointerException on chart with mouseover tooltip [message #1029566 is a reply to message #1028072] Fri, 29 March 2013 17:44 Go to previous message
Eclipse UserFriend
I'm not able to reproduce this error either and there doesn't appear to be anything wrong with the above XML. If you recreate the report or at least the chart from scratch, does the issue still happen?
Previous Topic:How to Use User Properties
Next Topic:read rptdocument outside birt report viewer
Goto Forum:
  


Current Time: Thu Apr 24 10:44:51 EDT 2025

Powered by FUDForum. Page generated in 0.03123 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top