Community
Participate
Working Groups
This bug is to delete the EMF2DOMSSEAdapter version of createAdapter() and roll Karen's patch down to EMF2DOMAdapter.createAdapter() +++ This bug was initially created as a clone of Bug #311777 +++ Created an attachment (id=167193) NPE stack trace The attached NPE occurs when I take a valid orm.xml file and edit it as follows. Notice the '.' after class="model.Person". Once the NPE has occurred the model is pretty well hosed. You can tell this because of the Dali validation error: "The entity has no primary key attribute defined", which is not true since the 'id' element is specified. Removing the extraneous period does not solve the problem. I will attach a JPA project that shows this bug, import the project, switch to the JPA perspective and open the orm.xml file. Add the '.' and you will get the NPE. <entity class="model.Person".> <table name="person"/> <attributes> <id name="id"> </id> </attributes> </entity>
Moving to 3.2.2 unless you have a patch, Carl.
Created attachment 223319 [details] patch