# HTML\_AREA broken? (servoy-1.1rc2, java-1.3.1, linux)

**URL:** <https://forum.servoy.com/t/html-area-broken-servoy-1-1rc2-java-1-3-1-linux/146>\
**Category:** Classic Servoy\
**Created:** [June 18, 2003, 8:51am UTC](https://forum.servoy.com/t/html-area-broken-servoy-1-1rc2-java-1-3-1-linux/146 "2003-06-18T08:51:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neale](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@Neale](https://forum.servoy.com/u/Neale)\
**Post date:** [June 18, 2003, 8:51am UTC](https://forum.servoy.com/t/html-area-broken-servoy-1-1rc2-java-1-3-1-linux/146/1 "2003-06-18T08:51:52Z")

</div>

With Servoy-1.1rc2 and java-1.3.1 on linux, HTML\_AREA isn’t workikng for me ![:-(]( "Sad")

If I do a basic form with a large text field (e.g. 4000 chars) it’s all fine as a TEXT\_AREA but as a HTML\_AREA something goes wildly wrong: the short story is that I can step through the records but nothing appears in the fields and there’s a bunch of java errors scroll over the xterm from where servoy was started.

Before I go digging up more details: is this a known bug?

Thanks,  
Neale.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [June 18, 2003, 9:35pm UTC](https://forum.servoy.com/t/html-area-broken-servoy-1-1rc2-java-1-3-1-linux/146/2 "2003-06-18T21:35:58Z")

</div>

please post a portion of the error you see (the top 10 lines)

---

<div class="post-metadata">

**Author:** ![Neale](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@Neale](https://forum.servoy.com/u/Neale)\
**Post date:** [June 18, 2003, 10:30pm UTC](https://forum.servoy.com/t/html-area-broken-servoy-1-1rc2-java-1-3-1-linux/146/3 "2003-06-18T22:30:52Z")

</div>

This is what I get when starting Servoy then switching to the offending form…

```auto
java.lang.NullPointerException
Exception occurred during event dispatching:
java.lang.NullPointerException
        at javax.swing.text.html.StyleSheet.getRule(StyleSheet.java:166)
        at javax.swing.text.html.StyleSheet$ViewAttributeSet.<init>(StyleSheet.java:2767)
        at javax.swing.text.html.StyleSheet.getViewAttributes(StyleSheet.java:285)
        at javax.swing.text.html.ParagraphView.setPropertiesFromAttributes(ParagraphView.java:85)
        at javax.swing.text.ParagraphView.<init>(ParagraphView.java:42)
        at javax.swing.text.html.ParagraphView.<init>(ParagraphView.java:40)
        at javax.swing.text.html.HTMLEditorKit$HTMLFactory.create(HTMLEditorKit.java:969)
        at javax.swing.text.View.updateChildren(View.java:995)
        at javax.swing.text.View.removeUpdate(View.java:683)
        at javax.swing.text.View.forwardUpdateToView(View.java:1096)
        at javax.swing.text.View.forwardUpdate(View.java:1069)
        at javax.swing.text.BoxView.forwardUpdate(BoxView.java:172)
        at javax.swing.text.View.removeUpdate(View.java:689)

```

Hmm… I wonder if my version of Java (1.3.1 on Linux) has problems/whatever in the HTMLEditorKit department?

Thanks,  
Neale.

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [June 23, 2003, 9:57am UTC](https://forum.servoy.com/t/html-area-broken-servoy-1-1rc2-java-1-3-1-linux/146/4 "2003-06-23T09:57:09Z")

</div>

What content do you set? (how does the html look like?)  
We cannot reproduce this problem…

---

<div class="post-metadata">

**Author:** ![Neale](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@Neale](https://forum.servoy.com/u/Neale)\
**Post date:** [June 23, 2003, 10:53am UTC](https://forum.servoy.com/t/html-area-broken-servoy-1-1rc2-java-1-3-1-linux/146/5 "2003-06-23T10:53:27Z")

</div>

Nothing too challenging…

```auto
=> SELECT * FROM letter_texts;
 letter_textsid | lt_ref | lt_body                                            
----------------+--------+-----------------------------------------------------------------------------------------------
              1 | NTB1 | <paragraph>
  <head>

  </head>
  <body>
    <p>
      Foo 1
    </p>
  </body>
</paragraph>

              2 | | <paragraph>
  <head>

  </head>
  <body>
    <p>
      
    </p>
  </body>
</paragraph>

(2 rows)

```

BTW, just to clarify, this problem is observed when running Servoy Developer in “client mode” (is that the correct terminology?).

Any thoughts on if this is likely to be specific to Java 1.3.1?

Thanks,  
Neale.

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [June 23, 2003, 2:58pm UTC](https://forum.servoy.com/t/html-area-broken-servoy-1-1rc2-java-1-3-1-linux/146/6 "2003-06-23T14:58:45Z")

</div>

I still cannot reproduce the problem, when I fill a html\_text area with:

Foo 1

It displayed correctly (I tried 1.3.1 and 1.4.1 on windows)  
Note: if I use it does not render(display) the html but shows the source, so I changed those tags to and
