Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error encountered when configuring Object Selector

I'm trying to complete the <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/8d77556536267fe10000000a1553f7/content.htm">"My First Composite Application"</a> tutorial and am encountering an internal server error. The error occurs on step 8 of "Configuring the Object Editor User Interface". The error displayed in the Browser is:

The initial exception that caused the request to fail, was:

com.sap.sql.log.OpenSQLException: Cannot assign a java.lang.String object of length 9 to host variable 7 which has JDBC type VARCHAR(4).

at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:85)

at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:124)

at com.sap.sql.types.GenericResultColumn.checkLength(GenericResultColumn.java:212)

at com.sap.sql.types.VarcharResultColumn.setString(VarcharResultColumn.java:63)

at com.sap.sql.jdbc.common.CommonPreparedStatement.setString(CommonPreparedStatement.java:505)

... 66 more

Any insight on what might be causing this error is greatly appreciated.

Regards,

Brian Vandehey

Message was edited by: Brian Vandehey

replied

Hi Brian,

I thought that the problem occurred when you updated CAF business entity.

But the problem source in the wd runtime repository. Locale of translatable attribute is calculated incorrectly when you are trying to save according configuration. It seems to be a bug.

I don't remember such problem.

I would propose to change your UME user locale to "en" or "de" and try to save configuration again after relogin.

Best regards,

Aliaksei.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question