# java.lang.Object Error

**URL:** <https://forum.servoy.com/t/java-lang-object-error/5810>\
**Category:** Classic Servoy\
**Created:** [April 25, 2006, 3:57pm UTC](https://forum.servoy.com/t/java-lang-object-error/5810 "2006-04-25T15:57:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Providence1](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@Providence1](https://forum.servoy.com/u/Providence1)\
**Post date:** [April 25, 2006, 3:57pm UTC](https://forum.servoy.com/t/java-lang-object-error/5810/1 "2006-04-25T15:57:50Z")

</div>

When I create a new text field (in these cases 5 chars in length) and add it to a form that has 25 such fields set to combo box. I attach a simple valuelist to it that merely says, “Yes” and allow Empty Character is NOT checked, every thing works fine in Developer.

In Client, however, I get the following such errors: java.lang.Object@6972f1.

My Developer and Client are both pointed to the same repository.

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [April 25, 2006, 4:04pm UTC](https://forum.servoy.com/t/java-lang-object-error/5810/2 "2006-04-25T16:04:02Z")

</div>

It seems like the server doesn’t know about your field (yet). Have you restarted the server or flushed the solution after you created that field (you have to)?

---

<div class="post-metadata">

**Author:** ![Providence1](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@Providence1](https://forum.servoy.com/u/Providence1)\
**Post date:** [April 25, 2006, 4:11pm UTC](https://forum.servoy.com/t/java-lang-object-error/5810/3 "2006-04-25T16:11:45Z")

</div>

Patrick, thanks for the quick response!

Yes, I should have mentioned that I flushed the server at least three times and restarted it once.

---

<div class="post-metadata">

**Author:** ![patrick](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@patrick](https://forum.servoy.com/u/patrick)\
**Post date:** [April 25, 2006, 4:14pm UTC](https://forum.servoy.com/t/java-lang-object-error/5810/4 "2006-04-25T16:14:33Z")

</div>

Then I don’t know. I would think that somehow server and developer do not see the same database…

---

<div class="post-metadata">

**Author:** ![Providence1](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@Providence1](https://forum.servoy.com/u/Providence1)\
**Post date:** [April 25, 2006, 4:45pm UTC](https://forum.servoy.com/t/java-lang-object-error/5810/5 "2006-04-25T16:45:34Z")

</div>

Honestly, that was my thought initialy until I checked the connection.

They say they are looking at the same database so I assume this is correct.

No ones ever corrupted a non-enterprise sybase before, have they?

---

<div class="post-metadata">

**Author:** ![maarten](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@maarten](https://forum.servoy.com/u/maarten)\
**Post date:** [April 26, 2006, 8:20am UTC](https://forum.servoy.com/t/java-lang-object-error/5810/6 "2006-04-26T08:20:30Z")

</div>

Yes, but did you restart the RIGHT app. server?

Creating a new column with your developer directly on the db server requires a servoy app. server restart, in order to make it display properly in the clients.

If this doesn’t solve your problem, then triple check your db connections.  
Especially when working with multiple db connections/repositories  
things might get confusing.

---

<div class="post-metadata">

**Author:** ![Providence1](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@Providence1](https://forum.servoy.com/u/Providence1)\
**Post date:** [April 26, 2006, 3:42pm UTC](https://forum.servoy.com/t/java-lang-object-error/5810/7 "2006-04-26T15:42:42Z")

</div>

Maarten:

You’re taking about ‘Start data and http service in this developer’ right?

It’s only running on the actual servoy server, it’s not running in Developer.

Could it have to do with the port number, 8080 as opposed to 2638?

---

<div class="post-metadata">

**Author:** ![maarten](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@maarten](https://forum.servoy.com/u/maarten)\
**Post date:** [April 26, 2006, 4:15pm UTC](https://forum.servoy.com/t/java-lang-object-error/5810/8 "2006-04-26T16:15:45Z")

</div>

No, my first guess is that you restarted the wrong servoy server?

1. you are connecting to the right servoy server with your developer  
and you did a flush on the server updating the repository saying: hey clients here’s a new column in form x called “myColumn”.
2. Your client is connecting to the right servoy server,  
sees the form x, sees the change you did in developer, knows that there should be a field overthere but can’t identify it because the app server still doesn’t know about the existence of a new column in the db. It only knows the GUI part (Put dataprovider at spot x,y , attach “myColumn” to it etc… )
3. So in order to let the servoy server be aware of this new db column, you need to restart the servoy server.

So since you said you DID restart the servoy server,  
could it be that you accidentally restarted a different servoy server?

---

<div class="post-metadata">

**Author:** ![Providence1](https://avatars.discourse-cdn.com/v4/letter/p/f14d63/32.png) [@Providence1](https://forum.servoy.com/u/Providence1)\
**Post date:** [April 26, 2006, 5:03pm UTC](https://forum.servoy.com/t/java-lang-object-error/5810/9 "2006-04-26T17:03:13Z")

</div>

I only have the one servoy server running. I even checked this will SybaseCentral.

However, upon the third reboot of the servoy server it found the field.

I do see what you are saying, though.

I’ll be more methodical in the future.
