cancel
Showing results for 
Search instead for 
Did you mean: 

recurrent error when creating a content from a simple form

fpeluttiero
Champ in-the-making
Champ in-the-making
When I try to create a content from a form simple like that:


<?xml version="1.0" encoding="utf-16"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="simple">
    <xs:complexType>
      <xs:sequence>
        <xs:element default="default value" name="value" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

I obtain avery time the following error:

javax.faces.FacesException: org.apache.jasper.JasperException
caused by:
org.apache.jasper.JasperException
caused by:
java.lang.NullPointerException

I did the tutorial and the the creation of form didn't matter.

I don't know how to solve this problem, could you explain me?

thanks a lot
1 REPLY 1

arielb
Champ in-the-making
Champ in-the-making
the name of the form has to be simple in this case so that the schema parser knows which element to use.  you can turn on logging to get more information as to what's going on.  see previous posts for information on how to do that.