NPE bei Rechtsklick durch Mediathek

Antworten
private_lock
Senior Member
Beiträge: 192
Registriert: 20 Feb 2007, 09:36

NPE bei Rechtsklick durch Mediathek

Beitrag von private_lock »

Hallo Entwickler!

Reproduzieren:
  1. Erinnerungs-Fenster abwarten
  2. Rechtsklick auf Erinnerung -> Wiederholungen suchen
  3. Suchdialog bestätigen
  4. Im Ergebnis-Fenster Rechtsklick auf einige Sendungen
  5. BAM!
Screenshot_20170914_212809.png
Screenshot_20170914_212809.png (177.22 KiB) 6069 mal betrachtet
Grafik-Glitch: In den Erinnerungen wird der Hintergrund nicht neu gemalt und zeigt immer noch alte, längst vergangene Erinnerungen, bzw. den alten Scrollbalken im unteren Bereich.

Stacktrace:

Code: Alles auswählen

Das Plugin "Mediathek" hat einen Fehler verursacht. Soll es deaktiviert werden?

----- Start of stacktrace -----
java.lang.NullPointerException
  at mediathekplugin.MediathekPlugin.getFirstOfMonth(MediathekPlugin.java:234)
  at mediathekplugin.MediathekPlugin.getContextMenu(MediathekPlugin.java:155)
  at mediathekplugin.MediathekPlugin.getContextMenuActions(MediathekPlugin.java:126)
  at tvbrowser.core.plugin.JavaPluginProxy.doGetContextMenuActions(JavaPluginProxy.java:379)
  at tvbrowser.core.plugin.AbstractPluginProxy.getContextMenuActions(AbstractPluginProxy.java:245)
  at tvbrowser.core.contextmenu.ContextMenuManager.createContextMenuItems(ContextMenuManager.java:400)
  at tvbrowser.core.plugin.PluginProxyManager.createPluginContextMenu(PluginProxyManager.java:1090)
  at tvbrowser.core.plugin.PluginManagerImpl.createPluginContextMenu(PluginManagerImpl.java:617)
  at util.ui.ProgramList.showPopup(ProgramList.java:330)
  at util.ui.ProgramList.showContextMenu(ProgramList.java:819)
  at util.programmouseevent.ProgramMouseEventHandler.testAndHandleContextMenuEvent(ProgramMouseEventHandler.java:118)
  at util.programmouseevent.ProgramMouseEventHandler.mousePressed(ProgramMouseEventHandler.java:108)
  at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
  at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:279)
  at java.awt.Component.processMouseEvent(Component.java:6530)
  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
  at java.awt.Component.processEvent(Component.java:6298)
  at java.awt.Container.processEvent(Container.java:2236)
  at java.awt.Component.dispatchEventImpl(Component.java:4889)
  at java.awt.Container.dispatchEventImpl(Container.java:2294)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4522)
  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
  at java.awt.Container.dispatchEventImpl(Container.java:2280)
  at java.awt.Window.dispatchEventImpl(Window.java:2746)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
  at java.awt.EventQueue.access$500(EventQueue.java:97)
  at java.awt.EventQueue$3.run(EventQueue.java:709)
  at java.awt.EventQueue$3.run(EventQueue.java:703)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
  at java.awt.EventQueue$4.run(EventQueue.java:731)
  at java.awt.EventQueue$4.run(EventQueue.java:729)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
  at util.ui.textcomponentpopup.TextComponentPopupEventQueue.dispatchEvent(TextComponentPopupEventQueue.java:57)
  at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
  at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
  at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
  at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
  at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
  at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
  at java.awt.Dialog.show(Dialog.java:1084)
  at java.awt.Component.show(Component.java:1671)
  at java.awt.Component.setVisible(Component.java:1623)
  at java.awt.Window.setVisible(Window.java:1014)
  at java.awt.Dialog.setVisible(Dialog.java:1005)
  at util.ui.UiUtilities.centerAndShow(UiUtilities.java:170)
  at util.ui.SearchHelper.doSearch(SearchHelper.java:262)
  at util.ui.SearchHelper.search(SearchHelper.java:135)
  at util.ui.SearchHelper.search(SearchHelper.java:149)
  at tvbrowser.extras.searchplugin.RepetitionDialog.search(RepetitionDialog.java:217)
  at tvbrowser.extras.searchplugin.RepetitionDialog.lambda$createGui$1(RepetitionDialog.java:187)
  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
  at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
  at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
  at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
  at java.awt.Component.processMouseEvent(Component.java:6533)
  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
  at java.awt.Component.processEvent(Component.java:6298)
  at java.awt.Container.processEvent(Container.java:2236)
  at java.awt.Component.dispatchEventImpl(Component.java:4889)
  at java.awt.Container.dispatchEventImpl(Container.java:2294)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
  at java.awt.Container.dispatchEventImpl(Container.java:2280)
  at java.awt.Window.dispatchEventImpl(Window.java:2746)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
  at java.awt.EventQueue.access$500(EventQueue.java:97)
  at java.awt.EventQueue$3.run(EventQueue.java:709)
  at java.awt.EventQueue$3.run(EventQueue.java:703)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
  at java.awt.EventQueue$4.run(EventQueue.java:731)
  at java.awt.EventQueue$4.run(EventQueue.java:729)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
  at util.ui.textcomponentpopup.TextComponentPopupEventQueue.dispatchEvent(TextComponentPopupEventQueue.java:57)
  at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
  at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
  at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
  at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
  at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
  at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
  at java.awt.Dialog.show(Dialog.java:1084)
  at java.awt.Component.show(Component.java:1671)
  at java.awt.Component.setVisible(Component.java:1623)
  at java.awt.Window.setVisible(Window.java:1014)
  at java.awt.Dialog.setVisible(Dialog.java:1005)
  at tvbrowser.extras.searchplugin.SearchPlugin.searchRepetitions(SearchPlugin.java:318)
  at tvbrowser.extras.searchplugin.SearchPlugin.lambda$getContextMenuActions$1(SearchPlugin.java:231)
  at devplugin.ContextMenuAction.actionPerformed(ContextMenuAction.java:70)
  at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
  at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
  at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
  at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
  at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
  at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
  at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
  at java.awt.Component.processMouseEvent(Component.java:6533)
  at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
  at java.awt.Component.processEvent(Component.java:6298)
  at java.awt.Container.processEvent(Container.java:2236)
  at java.awt.Component.dispatchEventImpl(Component.java:4889)
  at java.awt.Container.dispatchEventImpl(Container.java:2294)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
  at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
  at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
  at java.awt.Container.dispatchEventImpl(Container.java:2280)
  at java.awt.Window.dispatchEventImpl(Window.java:2746)
  at java.awt.Component.dispatchEvent(Component.java:4711)
  at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
  at java.awt.EventQueue.access$500(EventQueue.java:97)
  at java.awt.EventQueue$3.run(EventQueue.java:709)
  at java.awt.EventQueue$3.run(EventQueue.java:703)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
  at java.awt.EventQueue$4.run(EventQueue.java:731)
  at java.awt.EventQueue$4.run(EventQueue.java:729)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
  at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
  at util.ui.textcomponentpopup.TextComponentPopupEventQueue.dispatchEvent(TextComponentPopupEventQueue.java:57)
  at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
  at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
  at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
  at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
----- End of stacktrace -----
Debug-Info

Code: Alles auswählen

System: Linux 4.8.0-59-generic amd64 UTF-8
Java: Java(TM) SE Runtime Environment 1.8.0_131 /opt/jdk1.8.0_131/jre
TV-Browser: 4 /opt/tvbrowser-4
User settings: /opt/tvbrowser-4 de DE Europe/Berlin
LookAndFeel: javax.swing.plaf.nimbus.NimbusLookAndFeel
Plastic-Theme: com.jgoodies.looks.plastic.theme.SkyBlue
Persona: Blauer TV-Browser
Icons: icons/Tango.zip
Info-Icons: tvb_default.zip
Number of markings: 7387

Installed plugins:
  java.simplemarkerplugin.SimpleMarkerPlugin true
  java.tvraterplugin.TVRaterPlugin true
  java.webplugin.WebPlugin true
  java.teletextplugin.TeleTextPlugin true
  java.wirschauenplugin.WirSchauenPlugin true
  java.movieawardplugin.MovieAwardPlugin true
  java.mediathekplugin.MediathekPlugin true
  java.tvpearlplugin.TVPearlPlugin true
  java.cleverepgaddons.CleverEPGAddons true
  java.clipboardplugin.ClipboardPlugin true
  java.printplugin.PrintPlugin true
  java.rememberme.RememberMe true
  java.jumptoprogramplugin.JumpToProgramPlugin true
  java.idontwant2see.IDontWant2See true
  java.fixprogramduration.FixProgramDuration true
  java.relativetimefiltercomponent.RelativeTimeFilterComponent true
  java.listviewplugin.ListViewPlugin true
  java.recommendationplugin.RecommendationPlugin true
  java.newsplugin.NewsPlugin true
  java.clockplugin.ClockPlugin true
  java.countrycodeplugin.CountryCodePlugin true
  java.sharedchannelautoupdateplugin.SharedChannelAutoUpdatePlugin true
  java.epgpaiddata.EPGpaidData true
  java.dataviewerplugin.DataViewerPlugin true
  java.filterviewplugin.FilterViewPlugin true
  java.genreplugin.GenrePlugin true
  java.autoscrolltonowplugin.AutoScrollToNowPlugin true
  java.descriptioninfotexteraserplugin.DescriptionInfoTextEraserPlugin true

Subscribed channels:
  Das Erste (ARD) tvbrowserdataservice
  ZDF tvbrowserdataservice
  Sat.1 tvbrowserdataservice
  RTL tvbrowserdataservice
  Tele 5 tvbrowserdataservice
  RTL2 tvbrowserdataservice
  ProSieben tvbrowserdataservice
  kabel eins tvbrowserdataservice
  VOX tvbrowserdataservice
  ServusTV Deutschland tvbrowserdataservice
  arte tvbrowserdataservice
  3sat tvbrowserdataservice
  Nitro tvbrowserdataservice
  Sat.1 Gold tvbrowserdataservice
  sixx tvbrowserdataservice
  ProSieben MAXX tvbrowserdataservice
  kabel eins Doku tvbrowserdataservice
  DMAX tvbrowserdataservice
  Zee.One tvbrowserdataservice
  RTLplus tvbrowserdataservice
  Super RTL tvbrowserdataservice
  TOGGO plus tvbrowserdataservice
  KiKA tvbrowserdataservice
  Family TV tvbrowserdataservice
  Fix&Foxi tvbrowserdataservice
  Comedy Central tvbrowserdataservice
  Nickelodeon tvbrowserdataservice
  RiC tvbrowserdataservice
  Disney Channel tvbrowserdataservice
  n-tv tvbrowserdataservice
  N24 tvbrowserdataservice
  N24 Doku tvbrowserdataservice
  ARD-alpha tvbrowserdataservice
  One tvbrowserdataservice
  PHOENIX tvbrowserdataservice
  tagesschau24 tvbrowserdataservice
  ZDFinfo tvbrowserdataservice
  ZDFneo tvbrowserdataservice
  NDR Niedersachsen tvbrowserdataservice
  WDR tvbrowserdataservice
  MDR Thüringen tvbrowserdataservice
  RBB Berlin tvbrowserdataservice
  HR tvbrowserdataservice
  SWR BW tvbrowserdataservice
  BR tvbrowserdataservice
  VIVA tvbrowserdataservice
  DELUXE MUSIC epgdonatedata
  Sport1 tvbrowserdataservice
  Eurosport 1 tvbrowserdataservice
  BBC World News tvbrowserdataservice

Data available:
  Mi, 13. Sep true
  Do, 14. Sep true
  Fr, 15. Sep true
  Sa, 16. Sep true
  So, 17. Sep true
  Mo, 18. Sep true
  Di, 19. Sep true
  Mi, 20. Sep true
  Do, 21. Sep true
  Fr, 22. Sep true
  Sa, 23. Sep true
  So, 24. Sep true
  Mo, 25. Sep true
  Di, 26. Sep true
  Mi, 27. Sep true
  Do, 28. Sep true
  Fr, 29. Sep true
  Sa, 30. Sep true
  So, 1. Okt true
  Mo, 2. Okt true
  Di, 3. Okt true
  Mi, 4. Okt true
  Do, 5. Okt true
  Fr, 6. Okt true
  Sa, 7. Okt true
  So, 8. Okt true
  Mo, 9. Okt true
  Di, 10. Okt true
  Mi, 11. Okt true
private_lock
Senior Member
Beiträge: 192
Registriert: 20 Feb 2007, 09:36

Re: NPE bei Rechtsklick durch Mediathek

Beitrag von private_lock »

Tritt auch auf, wenn Details zu einigen Extra-3 Sendungen aus der Programmtabelle oder einem normalen Suchergebnis aufgerufen werden.

Bislang sind nur Extra3 auf dem NDR betroffen ... keine der Wiederholungen in anderen ÖffentlichRechtlichen aus dem ARD-Verbund ... Aber auch nicht alle vom NDR!
v6ph1
Site Admin
Beiträge: 1276
Registriert: 13 Jan 2008, 05:07
Wohnort: Radebeul

Re: NPE bei Rechtsklick durch Mediathek

Beitrag von v6ph1 »

Die Ursache hab ich gefunden:
Das Format der Mediathek-Datei wurde mal wieder angepasst und platzsparender gestaltet.
Jetzt wird das Datum weg gelassen, wenn es zum vorherigen Eintrag identisch ist.

Da muss ich den Parser anpassen - das wird aber erst am Wochenende.
v6ph1
Site Admin
Beiträge: 1276
Registriert: 13 Jan 2008, 05:07
Wohnort: Radebeul

Re: NPE bei Rechtsklick durch Mediathek

Beitrag von v6ph1 »

Update auf Version 3.0.2.6 bereitgestellt.

Liegt dank der Probleme bei Sourceforge noch nicht im SVN.
private_lock
Senior Member
Beiträge: 192
Registriert: 20 Feb 2007, 09:36

Re: NPE bei Rechtsklick durch Mediathek

Beitrag von private_lock »

Vielen Dank für den prompten Service! :D
ds10
Site Admin
Beiträge: 19095
Registriert: 23 Jun 2005, 12:36
Kontaktdaten:

Re: NPE bei Rechtsklick durch Mediathek

Beitrag von ds10 »

Ich habe für die morgige Nightly das neu Zeichnen der Scrollliste eingebaut, bei mir gibt es so keine Artefakte.
"First they ignore you, then they ridicule you, then they fight you, then you win." - Mahatma Gandhi
Unterstütze die Weiterentwicklung von TV-Browser
Antworten