2010-11-19 4 views
0

Maintenant, avec la mise à jour java 1.6.22 installée (la version précédente était OK), mes clients signalent un problème.JEditorPane.setpage ne fonctionne plus correctement avec java 1.6.22

editorPane.setPage() émet une exception SEULEMENT lorsque vous utilisez mon 2ème temps applet (ce qui signifie RECHARGEMENT mon APPLET avec le navigateur ou applet viewer) problème ne se produit pas si applet REMETTRE, juste au moment où Rechargement.

Exception in thread "Thread-10" java.lang.NullPointerException 
    at javax.swing.text.html.parser.Parser.errorContext(Unknown Source) 
    at javax.swing.text.html.parser.Parser.parse(Unknown Source) 
    at javax.swing.text.html.parser.DocumentParser.parse(Unknown Source) 
    at javax.swing.text.html.parser.ParserDelegator.parse(Unknown Source) 
    at javax.swing.text.html.HTMLEditorKit.read(Unknown Source) 
    at javax.swing.JEditorPane.read(Unknown Source) 
    at javax.swing.JEditorPane$PageLoader.run(Unknown Source) 

J'utilise m_editorPane.setEditorKitForContentType

Comment puis-je réparer mon Applet afin que setPage ne tombe pas en panne avec une nouvelle 1.6.22 JRE Je ne peux pas dire aux clients d'utiliser plus JRE.

+0

Et votre question est? –

+0

mis à jour Question ci-dessus – Tom

Répondre

Questions connexes