|
Signed Data (Text SHA256) |
I have Eclipse 2021-09 running with Java 15. Everything works except EntityModeler db access. I cannot reverse engineer nor generate SQL. Eclipse reports a crash
java.lang.RuntimeException: Failed to generate SQL.
at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory$ReflectionSQLGenerator.generateSchemaCreationScript(EOFSQLGeneratorFactory.java:62)
at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:298)
at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run(GenerateSQLDialog.java:279)
at java.base/java.lang.Thread.run(Thread.java:831)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory$ReflectionSQLGenerator.generateSchemaCreationScript(EOFSQLGeneratorFactory.java:60)
... 3 more
Caused by: N/A
at com.webobjects.jdbcadaptor.JDBCContext.connect(JDBCContext.java:222)
at com.webobjects.jdbcadaptor.JDBCContext._tryConnect(JDBCContext.java:362)
at com.webobjects.jdbcadaptor.JDBCContext._fetchJDBCInfo(JDBCContext.java:594)
at com.webobjects.jdbcadaptor.JDBCPlugIn.jdbcInfo(JDBCPlugIn.java:1046)
at com.webobjects.jdbcadaptor.PostgresqlPlugIn.jdbcInfo(PostgresqlPlugIn.java:133)
at com.webobjects.jdbcadaptor.JDBCAdaptor.jdbcInfo(JDBCAdaptor.java:233)
at com.webobjects.jdbcadaptor.JDBCExpressionFactory.createExpression(JDBCExpressionFactory.java:26)
at com.webobjects.eoaccess.EOSQLExpressionFactory.expressionForEntity(EOSQLExpressionFactory.java:94)
at com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory._expressionForEntity(EOSchemaSynchronizationFactory.java:1007)
at com.webobjects.jdbcadaptor.PostgresqlSynchronizationFactory.createTableStatementsForEntityGroup(PostgresqlSynchronizationFactory.java:348)
at com.webobjects.eoaccess.synchronization.EOSchemaSynchronizationFactory.createTableStatementsForEntityGroups(EOSchemaSynchronizationFactory.java:500)
at com.webobjects.jdbcadaptor.PostgresqlSynchronizationFactory.schemaCreationStatementsForEntities(PostgresqlSynchronizationFactory.java:551)
at com.webobjects.jdbcadaptor.PostgresqlSynchronizationFactory.schemaCreationScriptForEntities(PostgresqlSynchronizationFactory.java:486)
at org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGenerator53.generateSchemaCreationScript(EOFSQLGenerator53.java:483)
... 8 more
No idea what the problem is other than the runtime version of Java for Eclipse. Never had that crash when Eclipse ran on Java8. The current version of Eclipse does require at least Java 11.
Any idea what I am missing?
macOS Big Sur, Eclipse 2021-09, WOLips 4.18.20210217.5, postgresql-9.2-1000.jdbc4.jar, Installed JREs 15.0.1, 16.0.1, 1.8.0_261.
Compiled/generated apps run perfect inside Eclipse (debugging) and deployed, all with Java15 runtime, everything compiled with Java 1.8 compliance, though
Thanks
---markus---
|
Content Unaltered as verified By: |
<markus.ruggiero@rucotec.ch> |
|
|