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.
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)?
Patrick, thanks for the quick response!
Yes, I should have mentioned that I flushed the server at least three times and restarted it once.
Then I don’t know. I would think that somehow server and developer do not see the same database…
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?
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.
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?
No, my first guess is that you restarted the wrong servoy server?
- 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”.
- 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… )
- 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?
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.