#1019 Re-using JVM causes nodes to be squished

_FreeMind_0.9.0
open
5
2011-07-27
2011-02-17
Nick Kloski
No

Both Google Chrome and Firefox 4 beta handle the HTML tags in a new and more stringent way. The export in 0.9.0 to Java applet creates a malformed tag (actually been a problem for a while now but waited until 0.9.0 to see if this problem persisted):

<title/>

At the top of the HTML file. Removing this tag completely allows Java applet to load just fine. Strangely, Firefox 3.x loads just fine, but not the newer browsers. Removing this one tag from the export fixes the problem completely.

Discussion

  • Nick Kloski
    Nick Kloski
    2011-03-28

    The Java applet functionality is essentially broken for those who do not know that this problem exists, as the malformed title tag will not allow webpage initialization.

     
  • Nick Kloski
    Nick Kloski
    2011-03-28

    • milestone: 648240 --> 1883716
    • priority: 5 --> 6
     
  • Nick Kloski
    Nick Kloski
    2011-03-28

    • milestone: 1883716 --> _FreeMind_0.9.0
     
  • Nick Kloski
    Nick Kloski
    2011-03-28

    The solution to this bug is NOT to remove the <title/> tag, but to have the tag instead be: <title></title> That will fix this problem completely.

     
  • Nick Kloski
    Nick Kloski
    2011-03-28

    • labels: 789260 --> 1030852
     
  • Nick Kloski
    Nick Kloski
    2011-07-27

    Someone else found this solution...for some reason, reloading the page and reusing the JVM from the first initialization causes the squished nodes. The way to fix this (or at least address these symptoms) is to start a new JVM each time. The underlying problem is unknown to me, but probably has to do with something not being cleaned up when the browser goes back to reuse the original JVM.

    The fix is to put this at the end of the java initialization parameters in the main HTML file created by exporting to Java:

    <param name="separate_jvm" value="true">

     
  • Nick Kloski
    Nick Kloski
    2011-07-27

    • labels: 1030852 --> Java Applet/Viewer
    • summary: Malformed tag prevents applet initialization --> Re-using JVM causes nodes to be squished</li> <li><strong>priority</strong>: 6 --> 5</li> </ul>