Tudo bom pessoal?
Galera estou tendo problemas no seguinte caso:
Estou tentando achar a causa deste erro abaixo.
Possuo dois elos, o qual a funcionalidade do primeiro é iniciar uma midia e parar outra, já o segundo elo a sua funcionalidade é reiniciar a midia anteriormente parada e parar a atual, o NCL está definido da seguinte forma:
<link xconnector="connBase#onSelection1SetNStopNStartNSwitch" id="linkCategoria1">
<bind role="onSelection" component="categoria1" />
<bind component="settingsCategory" interface="option" role="set">
<bindParam name="var" value="1"/>
</bind>
<bind component="biblioteca_1" role="start"/>
<bind component="menuBiblioteca" role="stop" />
</link>
<link xconnector="connBase#onBeginStartN" id="linkCategoria1OnBegin">
<bind component="biblioteca_1" role="onBegin" />
<bind component="alf_a" role="start"/>
<bind component="alf_b" role="start"/>
<bind component="alf_c" role="start"/>
</link>
<link xconnector="connBase#onEndStopN" id="linkCategoria1OnEnd">
<bind component="biblioteca_1" role="onEnd" />
<bind component="alf_a" role="stop"/>
<bind component="alf_b" role="stop"/>
<bind component="alf_c" role="stop"/>
</link>
<link xconnector="connBase#onKeySelectionStartNStopN" id="linkCategoria1Exit">
<bind role="onSelection" component="biblioteca_1">
<bindParam name="keyCode" value="RED"/>
</bind>
<bind component="menuBiblioteca" role="start" />
<bind component="biblioteca_1" role="stop" />
</link>
Ginga-NCL Emulator v1.1.1
Copyright PUC-Rio (Laboratorio TeleMidia), 1989-2007
/home/razor/development/LibrarySample/
file:/home/razor/development/LibrarySample/ main.ncl
Exception in thread "Thread-43" java.lang.NullPointerException
at br.pucrio.telemidia.ginga.ncl.focus.FormatterFocusManager.hideObject(Unknown Source)
at br.pucrio.telemidia.ginga.ncl.FormatterScheduler.eventStateChanged(Unknown Source)
at br.pucrio.telemidia.ginga.ncl.model.event.FormatterEvent.changeState(Unknown Source)
at br.pucrio.telemidia.ginga.ncl.model.event.FormatterEvent.stop(Unknown Source)
at br.pucrio.telemidia.ginga.ncl.model.event.PresentationEvent.stop(Unknown Source)
at br.pucrio.telemidia.ginga.ncl.model.components.ExecutionObject.stop(Unknown Source)
at br.pucrio.telemidia.ginga.ncl.adapters.DefaultFormatterPlayerAdapter.stop(Unknown Source)
at br.pucrio.telemidia.ginga.ncl.FormatterScheduler.runAction(Unknown Source)
at br.pucrio.telemidia.ginga.ncl.FormatterScheduler.runAction(Unknown Source)
on(Unknown Source)
O que poderia estar acontecendo ?
Obrigado pessoal!
Autor: Rafael Garcia Mattozo
1Um comentário