#15 0x00000034 in javax.swing.JEditorPane.setText() at
JEditorPane.java:1314
It looks like you are calling setText() from outside the AWT Thread.
Although I don't recall whether it is really forbidden, you might
want to try to call this from the AWT Thread instead (using
SwingWorker or something along these lines). We had several similar
problems in our software that were solved by doing GUI thing always
in the AWT Thread.
Many Java programs use a main routine something like this:
public static void main (String[] args) {
SwingUtilities.invokeLater (new Runnable() {
public void run() {
MyMainFrame frame = new MyMainFrame();
frame.pack();
frame.show();
}
});
}