dirslashls opened a new issue, #19827:
URL: https://github.com/apache/echarts/issues/19827

   ### Version
   
   5.5.0
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html
   
   ### Steps to Reproduce
   
   My use case involves calling setOption on a chart that is already rendering.
   
   I apologize that I don't have reproducible code as I don't know what is 
causing the following NPE. I am hoping the stack trace can help. From the 
little I tried to debug, during the setOption, a tooltip element is getting 
created, but some how it is also getting disposed before the manuallyShowTip is 
being called to show the tooltip.
   
   ### Current Behavior
   
   it results in NPE with the following stack trace.
   
   ```js
   TooltipHTMLContent.js:312 Uncaught TypeError: Cannot set properties of null 
(setting 'innerHTML')
       at TooltipHTMLContent.setContent (TooltipHTMLContent.js:312:19)
       at TooltipView._showTooltipContent (TooltipView.js:562:20)
       at TooltipView.<anonymous> (TooltipView.js:465:12)
       at TooltipView._showOrMove (TooltipView.js:343:60)
       at TooltipView._showSeriesItemTooltip (TooltipView.js:464:10)
       at TooltipView._tryShow (TooltipView.js:324:14)
       at TooltipView.manuallyShowTip (TooltipView.js:244:12)
       at TooltipView.js:149:37
   ```
   
   ### Expected Behavior
   
   It should not throw NPE. I confirmed that version 5.4.0 doesn't have this 
issue.
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to