Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3342852
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:53:14+00:00 2026-05-18T00:53:14+00:00

We have an application which starts on a logon page and then navigates to

  • 0

We have an application which starts on a logon page and then navigates to a second page from which an applet is loaded. Everything works great. When the user logs off, the browser navigates back to the logon screen. If the user logs back on again, the browser crashes when parts of the applet are initialized. This only happens on the second loading of the applet. Caching has been disabled in the browser but the browser is never completely closed so am I right to assume that the applet loaded on the first logon is still around?

More information. The sun java console appears when the applet loads. When the user logs off and returns to the logon screen, the sun java console is still up even though the logon screen does not use java (only html and javascript). I think that something is not being reinitialized when the user logs off but the applet is stopped and destroyed so what could be still hanging around?
Oddly enough, this only happens on one test machine but not on others.

Below is the error log from the SJC:

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.setText(Unknown Source)
    at ReportPane.setDescription(ReportPane.java:577)
    at ReportPane.doDefineLoad(ReportPane.java:608)
    at ReportPane.<init>(ReportPane.java:565)
    at RevApp2.createGui(RevApp2.java:640)
    at RevApp2.access$0(RevApp2.java:414)
    at RevApp2$1.run(RevApp2.java:393)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
asDescription-><font face="CENTURY SCHOOLBOOK">Use to assign accounts to coders.</font>
java.lang.reflect.InvocationTargetException
    at java.awt.EventQueue.invokeAndWait(Unknown Source)
    at javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
    at RevApp2.init(RevApp2.java:389)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: 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.setText(Unknown Source)
    at AdminPane.setDescription(AdminPane.java:197)
    at AdminPane.<init>(AdminPane.java:174)
    at RevApp2.createGui(RevApp2.java:656)
    at RevApp2.access$0(RevApp2.java:414)
    at RevApp2$1.run(RevApp2.java:393)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
netscape.javascript.JSException: Unspecified error invoking method or accessing property "accountfocus"
    at sun.plugin2.main.client.MessagePassingJSObject.newJSException(Unknown Source)
    at sun.plugin2.main.client.MessagePassingJSObject.waitForReply(Unknown Source)
    at sun.plugin2.main.client.MessagePassingJSObject.call(Unknown Source)
    at RevApp2.start(RevApp2.java:2045)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Exception: netscape.javascript.JSException: Unspecified error invoking method or accessing property "accountfocus"
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T00:53:15+00:00Added an answer on May 18, 2026 at 12:53 am

    If you google “javax.swing.text.html.parser.Parser.errorContext” you will find that others have had similar issues and have reported them on some oracle discussion board:

    http://forums.oracle.com/forums/thread.jspa?messageID=8297744&tstart=0

    They talk about a workaround for this – maybe this might fit your case as well.

    Qute from the forum:

    I did not understand whether it was
    right end run, but was able to evade
    it when I did it this way.

    JEditorPane htmlPane = new
    JEditorPane(“text/html”, html);

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an existing iPhone application which starts from a UIViewController. What I want
I am developing an application which starts from LoginPage. When user Login then he
I have a system tray application which gets installed and starts running from a
I have a python (pygtk) application which starts in different modes depending on arguments.
I have a series of activities in my application which starts with Activity A
M developing an application which starts with a login page. After loggin the user
I have written a simple application which has login page. After login search insertion
I have an application named 'tottepost' which start with lowercase. And one day, I've
I have an application which logs in into a webservice. I start a new
I have a C# application which launches another executable using Process.Start() . 99% of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.