{"action":"created","issue":{"url":"https://api.github.com/repos/eseifert/gral/issues/160","repository_url":"https://api.github.com/repos/eseifert/gral","labels_url":"https://api.github.com/repos/eseifert/gral/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/eseifert/gral/issues/160/comments","events_url":"https://api.github.com/repos/eseifert/gral/issues/160/events","html_url":"https://github.com/eseifert/gral/pull/160","id":259500291,"number":160,"title":"NPE fix for Donut PiePlot in pointRenderers","user":{"login":"nkaraman","id":2564395,"avatar_url":"https://avatars3.githubusercontent.com/u/2564395?v=4","gravatar_id":"","url":"https://api.github.com/users/nkaraman","html_url":"https://github.com/nkaraman","followers_url":"https://api.github.com/users/nkaraman/followers","following_url":"https://api.github.com/users/nkaraman/following{/other_user}","gists_url":"https://api.github.com/users/nkaraman/gists{/gist_id}","starred_url":"https://api.github.com/users/nkaraman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkaraman/subscriptions","organizations_url":"https://api.github.com/users/nkaraman/orgs","repos_url":"https://api.github.com/users/nkaraman/repos","events_url":"https://api.github.com/users/nkaraman/events{/privacy}","received_events_url":"https://api.github.com/users/nkaraman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-21T13:41:45Z","updated_at":"2017-09-21T14:16:06Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/eseifert/gral/pulls/160","html_url":"https://github.com/eseifert/gral/pull/160","diff_url":"https://github.com/eseifert/gral/pull/160.diff","patch_url":"https://github.com/eseifert/gral/pull/160.patch"},"body":"**What happened?**\r\n\r\nIn examples Donut plot does not open\r\n\r\n**What is the reason?**\r\n\r\nNPE:\r\n```\r\nException in thread \"AWT-EventQueue-0\" java.lang.NullPointerException\r\n\tat de.erichseifert.gral.plots.PiePlot$LegendSymbol.draw(PiePlot.java:828)\r\n\tat de.erichseifert.gral.graphics.DrawableContainer.drawComponents(DrawableContainer.java:95)\r\n\tat de.erichseifert.gral.graphics.DrawableContainer.draw(DrawableContainer.java:86)\r\n\tat de.erichseifert.gral.graphics.DrawableContainer.drawComponents(DrawableContainer.java:95)\r\n\tat de.erichseifert.gral.plots.legends.AbstractLegend.draw(AbstractLegend.java:204)\r\n\tat de.erichseifert.gral.plots.AbstractPlot.drawLegend(AbstractPlot.java:214)\r\n\tat de.erichseifert.gral.plots.PiePlot$PiePlotArea2D.draw(PiePlot.java:251)\r\n\tat de.erichseifert.gral.graphics.DrawableContainer.drawComponents(DrawableContainer.java:95)\r\n\tat de.erichseifert.gral.plots.AbstractPlot.draw(AbstractPlot.java:191)\r\n\tat de.erichseifert.gral.ui.DrawablePanel.paintComponent(DrawablePanel.java:79)\r\n\tat javax.swing.JComponent.paint(JComponent.java:1056)\r\n\tat javax.swing.JComponent.paintChildren(JComponent.java:889)\r\n\tat javax.swing.JComponent.paint(JComponent.java:1065)\r\n\tat javax.swing.JComponent.paintChildren(JComponent.java:889)\r\n\tat javax.swing.JComponent.paint(JComponent.java:1065)\r\n\tat javax.swing.JViewport.paint(JViewport.java:728)\r\n\tat javax.swing.JComponent.paintChildren(JComponent.java:889)\r\n\tat javax.swing.JComponent.paint(JComponent.java:1065)\r\n\tat javax.swing.JComponent.paintToOffscreen(JComponent.java:5210)\r\n\tat javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:290)\r\n\tat javax.swing.RepaintManager.paint(RepaintManager.java:1272)\r\n\tat javax.swing.JComponent._paintImmediately(JComponent.java:5158)\r\n\tat javax.swing.JComponent.paintImmediately(JComponent.java:4969)\r\n\tat javax.swing.RepaintManager$4.run(RepaintManager.java:831)\r\n\tat javax.swing.RepaintManager$4.run(RepaintManager.java:814)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)\r\n\tat javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:814)\r\n\tat javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:789)\r\n\tat javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:738)\r\n\tat javax.swing.RepaintManager.access$1200(RepaintManager.java:64)\r\n\tat javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1732)\r\n\tat java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)\r\n\tat java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)\r\n\tat java.awt.EventQueue.access$500(EventQueue.java:97)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:709)\r\n\tat java.awt.EventQueue$3.run(EventQueue.java:703)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)\r\n\tat java.awt.EventQueue.dispatchEvent(EventQueue.java:726)\r\n\tat java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)\r\n\tat java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)\r\n\tat java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)\r\n\tat java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)\r\n\tat java.awt.EventDispatchThread.run(EventDispatchThread.java:82)\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eseifert/gral/issues/comments/331170009","html_url":"https://github.com/eseifert/gral/pull/160#issuecomment-331170009","issue_url":"https://api.github.com/repos/eseifert/gral/issues/160","id":331170009,"user":{"login":"nkaraman","id":2564395,"avatar_url":"https://avatars3.githubusercontent.com/u/2564395?v=4","gravatar_id":"","url":"https://api.github.com/users/nkaraman","html_url":"https://github.com/nkaraman","followers_url":"https://api.github.com/users/nkaraman/followers","following_url":"https://api.github.com/users/nkaraman/following{/other_user}","gists_url":"https://api.github.com/users/nkaraman/gists{/gist_id}","starred_url":"https://api.github.com/users/nkaraman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkaraman/subscriptions","organizations_url":"https://api.github.com/users/nkaraman/orgs","repos_url":"https://api.github.com/users/nkaraman/repos","events_url":"https://api.github.com/users/nkaraman/events{/privacy}","received_events_url":"https://api.github.com/users/nkaraman/received_events","type":"User","site_admin":false},"created_at":"2017-09-21T14:16:06Z","updated_at":"2017-09-21T14:16:06Z","author_association":"NONE","body":"@eseifert  it seems that there are some troubles with CI for java 7"}}
{"actor":{"display_login":"nkaraman"}}