Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dtp-dev] DTP 1.7 and JDBC schemas

Hi team, long time no see J

 

Using the latest DTP Galileo (RC1), it seems that I can’t really connect to a MySQL database. Digging in the code I see that the getCatalog() method of MySqlSchema returns null, hence the SchemaObjectFilterProvider fails with NullPointerException[1].

 

There are also several other issues (277493, 273360) that are not directly referring to this problem, but I have a feeling can help me understand this situation.

I am willing to fix this issue ASAP, and will appreciate if someone can direct me to any resource about the hierarchy of the model provided by DTP 1.7.

 

Regards,

_______________________
Roy Ganor
Zend Technologies Ltd.

 

[1]

java.lang.NullPointerException

      at org.eclipse.datatools.connectivity.sqm.loader.SchemaObjectFilterProvider.getConnectionFilter(SchemaObjectFilterProvider.java:49)

      at org.eclipse.datatools.connectivity.sqm.loader.JDBCBaseLoader.initActiveFilter(JDBCBaseLoader.java:86)

      at org.eclipse.datatools.enablement.mysql.catalog.loaders.MySqlTableLoader.loadTables(MySqlTableLoader.java:79)

      at org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCSchema.loadTables(JDBCSchema.java:128)

      at org.eclipse.datatools.connectivity.sqm.core.rte.jdbc.JDBCSchema.getTables(JDBCSchema.java:89)

      at org.eclipse.datatools.modelbase.sql.schema.impl.SchemaImpl.eGet(SchemaImpl.java:597)

      at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1013)

      at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1005)

      at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1000)

 


Back to the top