Menu

#1799 sidekick plugin popup completion hangs editing xml file with Java 8

None
closed-duplicate
None
7
2014-11-09
2014-10-16
Peter Lynch
No

JEdit 5.2pre1 server-background mode
Sidekick plugin 1.6 installed.
Java 1.8.0_25 or Java 1.8.0_20 ,Mac OSX Mavericks
Open the attached pom.xml file.
put the cursor at line 263 character 11.
Start typing the beginning of a comment "<--" or press the tab key.

Jedit hangs trying to render the sidekick completion popup.

Must kill -9 jEdit process at this point to recover.

"AWT-EventQueue-0" #12 prio=6 os_prio=31 tid=0x00007f870b88e800 nid=0xc107 in Object.wait() [0x000000012d669000]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.awt.MediaTracker.waitForID(MediaTracker.java:677)
    - locked <0x00000006c08bedb8> (a java.awt.MediaTracker)
    at javax.swing.ImageIcon.loadImage(ImageIcon.java:314)
    - locked <0x00000006c08bedb8> (a java.awt.MediaTracker)
    at javax.swing.ImageIcon.<init>(ImageIcon.java:204)
    at javax.swing.ImageIcon.<init>(ImageIcon.java:217)
    at xml.XmlListCellRenderer.<clinit>(XmlListCellRenderer.java:33)
    at xml.completion.XmlCompletion.getRenderer(XmlCompletion.java:67)
    at sidekick.SideKickCompletionPopup$Candidates.<init>(SideKickCompletionPopup.java:126)
    at sidekick.SideKickCompletionPopup.<init>(SideKickCompletionPopup.java:47)
    at sidekick.SideKickParser.getCompletionPopup(SideKickParser.java:250)
    at sidekick.SideKickActions.complete(SideKickActions.java:168)
    at sidekick.SideKickActions$1.actionPerformed(SideKickActions.java:87)
    at javax.swing.Timer.fireActionPerformed(Timer.java:313)
    at javax.swing.Timer$DoPostEvent.run(Timer.java:245)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
    at java.awt.EventQueue.access$400(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:697)
    at java.awt.EventQueue$3.run(EventQueue.java:691)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

1 Attachments

Related

Patches: #539

Discussion

  • Peter Lynch

    Peter Lynch - 2014-10-16

    xml file referenced to reproduce the issue if it matters

     
  • Alan Ezust

    Alan Ezust - 2014-10-19
    • assigned_to: Eric Le Lay
    • Group: -->
     
  • Dale Anson

    Dale Anson - 2014-10-19

    A couple of comments --

    • The XML plugin says it depends on Java 1.6, not Java 1.8.
    • I can't reproduce this problem with Java 1.7.0_65 on Linux, that is, the completion works as expected.

    I suspect this is due to some difference in Java 1.8, so I'd call this a feature request (support for Java 1.8) rather than a bug.

     
  • Eric Le Lay

    Eric Le Lay - 2014-11-02

    I can't reproduce it with openjdk 8 on linux. In the light of #1802 I'd say it's not java 8 but yosemite specific.

    openjdk version "1.8.0_25"
    OpenJDK Runtime Environment (build 1.8.0_25-b18)
    OpenJDK 64-Bit Server VM (build 25.25-b02, mixed mode)

    I might get access to a mac with 10.10 next week.
    I'll test it then.

     
  • Eric Le Lay

    Eric Le Lay - 2014-11-04
    • status: open --> pending
     
  • Eric Le Lay

    Eric Le Lay - 2014-11-04

    I could reproduce it on a 10.10 mac. Same problem with console plugin, where the dockable couldn't open.

    This is a bug in jEdit core, [#3893] is tracking it.

    Thanks for the detailed bug report :-)

     

    Related

    Bugs: #3893

  • Alan Ezust

    Alan Ezust - 2014-11-08

    Please try the latest daily build.

     
  • Alan Ezust

    Alan Ezust - 2014-11-09
    • status: pending --> closed-duplicate
     

Log in to post a comment.