# Page layout doesn't modify the adapter

**URL:** <https://techcommunity.softwareag.com/t/page-layout-doesnt-modify-the-adapter/99868>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, NaturalONE-Full-Edition\
**Created:** [March 12, 2012, 4:47pm UTC](https://techcommunity.softwareag.com/t/page-layout-doesnt-modify-the-adapter/99868 "2012-03-12T16:47:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marisel](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/marisel/32/449_2.png) [@Marisel](https://techcommunity.softwareag.com/u/Marisel)\
**Post date:** [March 12, 2012, 4:47pm UTC](https://techcommunity.softwareag.com/t/page-layout-doesnt-modify-the-adapter/99868/1 "2012-03-12T16:47:02Z")

</div>

I was changing a page layout introducing methods and other controls, but when I save the changes the adapter doesn’t change.  
I tried to solve deleting the adapter, but now I don’t have the adapter, and this doesn’t create anymore. 😢  
How do I create the adapter again? :?:  
Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [March 12, 2012, 6:37pm UTC](https://techcommunity.softwareag.com/t/page-layout-doesnt-modify-the-adapter/99868/2 "2012-03-12T18:37:42Z")

</div>

Every save triggers a rebuild of the adapter, so something obviously isn’t right …

Anything in the logs ?

Did you restart the server ?

---

<div class="post-metadata">

**Author:** ![Marisel](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/marisel/32/449_2.png) [@Marisel](https://techcommunity.softwareag.com/u/Marisel)\
**Post date:** [March 12, 2012, 10:35pm UTC](https://techcommunity.softwareag.com/t/page-layout-doesnt-modify-the-adapter/99868/3 "2012-03-12T22:35:30Z")

</div>

I don’t know where are the logs, and I’m working local, I had tried close and open Natural One, but the problem persist.

---

<div class="post-metadata">

**Author:** ![Todd\_Beckwith](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/todd_beckwith/32/388_2.png) [@Todd\_Beckwith](https://techcommunity.softwareag.com/u/Todd_Beckwith)\
**Post date:** [March 13, 2012, 11:05pm UTC](https://techcommunity.softwareag.com/t/page-layout-doesnt-modify-the-adapter/99868/4 "2012-03-13T23:05:55Z")

</div>

We have ran into that problem before when editing the XML in a text editor rather than NaturalONE’s page layout editor. I believe there was a bad character between tags that it did not like. It therefore failed to build the adapter on saves. Could this be your issue?

---

<div class="post-metadata">

**Author:** ![Christine\_Zimmermann](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Christine\_Zimmermann](https://techcommunity.softwareag.com/u/Christine_Zimmermann)\
**Post date:** [March 14, 2012, 8:12am UTC](https://techcommunity.softwareag.com/t/page-layout-doesnt-modify-the-adapter/99868/5 "2012-03-14T08:12:01Z")

</div>

I recommend to check a freshly generated layout Painter logfile. Do the following:

- Open the layout in Layout Painter.
- Change something for instance a comment and save the layout newly.
- In the Ajax Developer Menu: Click on “Show Log”. This will open the logfile.
- Scroll thru the logfile and check if you find some “Exceptions”.

If you see an exception like the following below, you have used a not valid name for a property. In the example exception below the not valid name is ‘mynotvalid#name’

20120314/080344/456 ERROR with generation addon com.softwareag.cis.gui.generate.XSDGenerationAddon  
20120314/080344/456 \>\>\>\>\>\>\>\>\>\> EXCEPTION OCCURED: \<\<\<\<\<\<\<\<\<\<  
20120314/080344/456 java.lang.IllegalArgumentException: error: ‘mynotvalid#name’ is not a valid NCName.  
20120314/080344/456 \>\>\>\>\>\>\>\>\>\> Stacktrace \<\<\<\<\<\<\<\<\<\<

Best Regards,  
Christine

---

<div class="post-metadata">

**Author:** ![Marisel](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/marisel/32/449_2.png) [@Marisel](https://techcommunity.softwareag.com/u/Marisel)\
**Post date:** [March 14, 2012, 9:55pm UTC](https://techcommunity.softwareag.com/t/page-layout-doesnt-modify-the-adapter/99868/6 "2012-03-14T21:55:31Z")

</div>

I check the logfile and Ididn’t find exceptions, but when I refresh the layout and save, this message appears:

> [@](#):
>
> Save Failed  
> java.lang.NullPointerException

Thank’s  
 ![error.JPG](https://global.discourse-cdn.com/techcommunity/original/2X/f/f238da6e30036aff4e38e856cf15f1e9624c9d62.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:01pm UTC](https://techcommunity.softwareag.com/t/page-layout-doesnt-modify-the-adapter/99868/7 "2021-04-02T15:01:38Z")

</div>


