Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dtp-pmc] BZ 277799 petition for inclusion in RC3


Hi all...

Roy Gaynor of Zend discovered this potential issue with MySQL in 1.7. For some reason, the SchemaObjectFilterProvider is causing issues for MySQL. I'm wondering if this was caused by regenerating all the models.

The bug is: https://bugs.eclipse.org/bugs/show_bug.cgi?id=277799

Can we include this 5 line fix that only affects the MySQL models in RC3? I think this is a critical fix for sure.

--Fitz

Brian Fitzpatrick
Eclipse Data Tools Platform PMC Chair
Eclipse Data Tools Platform Connectivity Team Lead
Staff Software Engineer, Sybase, Inc.

----- Forwarded by Brian Fitzpatrick/SYBASE on 05/26/2009 08:36 AM -----
"Roy Ganor" <roy@xxxxxxxx>
Sent by: dtp-dev-bounces@xxxxxxxxxxx

05/26/2009 02:49 AM

Please respond to
DTP development mailing list <dtp-dev@xxxxxxxxxxx>

To
"DTP development mailing list" <dtp-dev@xxxxxxxxxxx>
cc
Subject
RE: [dtp-dev] DTP 1.7 and JDBC schemas





Hi again!
I have issued a bug (and a patch) in BZ, https://bugs.eclipse.org/277799.
It seems pretty important for Galileo and I guess I can commit this but still I’ll appreciate if you guys can verify it. Basically I removed connection filters for MySQL databases as there are no active filters for such databases.
 
Thank you for your time,
Roy
From: dtp-dev-bounces@xxxxxxxxxxx [mailto:dtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Roy Ganor
Sent:
Monday, May 25, 2009 6:51 PM
To:
DTP development mailing list
Subject:
[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)
 _______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev

Back to the top