Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 42624 invoked from network); 12 Jul 2007 16:43:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jul 2007 16:43:27 -0000 Received: (qmail 67432 invoked by uid 500); 12 Jul 2007 16:43:28 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 67415 invoked by uid 500); 12 Jul 2007 16:43:28 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 67353 invoked by uid 99); 12 Jul 2007 16:43:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 09:43:28 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jul 2007 09:43:25 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CFE2F71420E for ; Thu, 12 Jul 2007 09:43:04 -0700 (PDT) Message-ID: <21100417.1184258584848.JavaMail.jira@brutus> Date: Thu, 12 Jul 2007 09:43:04 -0700 (PDT) From: "Alexei Zakharov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-4008) [classlib][swing] UnsupportedOperationException in HTMLEditorKit In-Reply-To: <19109638.1180600876152.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12512167 ] Alexei Zakharov commented on HARMONY-4008: ------------------------------------------ Andrey, I see the following swing test failure after your patch is applied javax.swing.text.html.FormView_FormSelectElementTest N/A java.lang.NullPointerException at javax.swing.text.DefaultStyledDocument$ElementBuffer.insertEndTag(DefaultStyledDocument.java:63) at javax.swing.text.DefaultStyledDocument$ElementBuffer.performSpecs(DefaultStyledDocument.java:342) at javax.swing.text.DefaultStyledDocument$ElementBuffer.create(DefaultStyledDocument.java:328) at javax.swing.text.DefaultStyledDocument.create(DefaultStyledDocument.java:127) at javax.swing.text.html.HTMLDocument.access$1(HTMLDocument.java:1) at javax.swing.text.html.HTMLDocument$HTMLReader.flushImpl(HTMLDocument.java:829) at javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java:672) at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:738) at javax.swing.text.html.FormView_FormSelectElementTest.createHTMLSample(FormView_FormSelectElementTest.java:395) at javax.swing.text.html.FormView_FormSelectElementTest.testModelAttributes(FormView_FormSelectElementTest.java:55) at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25) at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117) at javax.swing.SwingTestCase$1.run(SwingTestCase.java:45) at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java:92) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:81) at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java:138) at java.awt.EventQueue.dispatchEvent(EventQueue.java:144) at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java > [classlib][swing] UnsupportedOperationException in HTMLEditorKit > ---------------------------------------------------------------- > > Key: HARMONY-4008 > URL: https://issues.apache.org/jira/browse/HARMONY-4008 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Andrey Pavlenko > Assignee: Alexei Zakharov > Attachments: HARMONY-4008-Test.patch, HARMONY-4008.patch > > > The following code throws UnsupportedOperationException: > new JEditorPane("text/html", > "
Hello world!" > + "
"); > Stack: > java.lang.UnsupportedOperationException: Not implemented tag: tr > at javax.swing.text.html.HTMLEditorKit$HTMLFactory.create(HTMLEditorKit.java:151) > at javax.swing.text.CompositeView.loadChildren(CompositeView.java:235) > at javax.swing.text.CompositeView.setParent(CompositeView.java:116) > at javax.swing.text.html.BlockView.setParent(BlockView.java:61) > at javax.swing.text.CompositeView.replace(CompositeView.java:90) > at javax.swing.text.BoxView.replace(BoxView.java:150) > at javax.swing.text.View.updateChildren(View.java:406) > at javax.swing.text.View.updateView(View.java:527) > at javax.swing.text.View.insertUpdate(View.java:252) > at javax.swing.text.RootView.insertUpdate(RootView.java:178) > at javax.swing.plaf.basic.BasicTextUI$Listener.insertUpdate(BasicTextUI.java:258) > at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:1241) > at javax.swing.text.DefaultStyledDocument.create(DefaultStyledDocument.java:1210) > at javax.swing.text.html.HTMLDocument.access$1(HTMLDocument.java:1) > at javax.swing.text.html.HTMLDocument$HTMLReader.flushImpl(HTMLDocument.java:829) > at javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java:672) > at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:738) > at javax.swing.text.JTextComponent.read(JTextComponent.java:1289) > at javax.swing.JEditorPane.setText(JEditorPane.java:772) > at javax.swing.JEditorPane.(JEditorPane.java:305) > This issue prevents Java DjVu Viewer (http://sourceforge.net/projects/javadjvu) from being started correctly on Harmony. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.