• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Entity Modeler SQL generation exception
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Entity Modeler SQL generation exception


  • Subject: Re: Entity Modeler SQL generation exception
  • From: Samuel Pelletier <email@hidden>
  • Date: Thu, 07 May 2015 21:25:22 -0400

Thanks Wolfgang, the fix works.

This make me think the WOD editor problem may be similar, we have an NPE but I suspect the real problem occur when the editor try to create the special view when the .wod file is absent or when the wod view is too small.

Samuel

Le 2015-05-07 à 16:13, Ken Anderson <email@hidden> a écrit :

Thanks Wolfgang!  Looking at the list of changes, I never would have been able to figure it out!

On May 7, 2015, at 3:04 PM, Wolfgang Halbeisen <email@hidden> wrote:

Hy,

I think I have fixed the problem.
Please have a look at the pull-request which should fix it: https://github.com/wocommunity/wolips/pull/116

The description of the problem is added to the pull-request.

Greetz, Wolfy


Subject: Re: Entity Modeler SQL generation exception
From: email@hidden
Date: Thu, 7 May 2015 13:06:51 -0300
To: email@hidden
CC: email@hidden

In IEOSQLGeneratorFactory.java I made this

Object o = configurationElement.createExecutableExtension("class");
System.out.println("object class : " + o.getClass().getName());
IEOClassLoaderFactory classLoaderFactory = (IEOClassLoaderFactory) o;

And got this output


object class : org.objectstyle.wolips.eomodeler.eclipse.EclipseEOModelGroupFactory

The returned class is neither EOFSQLGeneratorFactory nor IEOSQLGeneratorFactory


Em 07/05/2015, à(s) 12:33, Samuel Pelletier <email@hidden> escreveu:

I also get the same error. I modified a plugin.xml file that seemed incorrect and now I have this one:

java.lang.ClassCastException: org.objectstyle.wolips.eomodeler.core.sql.EOFSQLGeneratorFactory cannot be cast to org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory
at org.objectstyle.wolips.eomodeler.core.sql.IEOSQLGeneratorFactory$Utility.sqlGeneratorFactory(IEOSQLGeneratorFactory.java:29)
at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog.generateSql(GenerateSQLDialog.java:297)
at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog$1.run(GenerateSQLDialog.java:279)
at java.lang.Thread.run(Thread.java:745)

I do not understand how it is possible; EOFSQLGeneratorFactory implements IEOSQLGeneratorFactory !

public class EOFSQLGeneratorFactory implements IEOSQLGeneratorFactory {
...
}


Ângelo Andrade Cirino
email@hidden

"O homem sensato se adapta ao mundo. O insensato insiste em tentar adaptar o mundo a ele. Todo o progresso depende, portanto, do homem insensato"
Sir George Benard Shaw

"The reasonable man adapts himself to the world: the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man."
Sir George Benard Shaw



_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Entity Modeler SQL generation exception (From: Ângelo Andrade Cirino <email@hidden>)
 >Re: Entity Modeler SQL generation exception (From: Samuel Pelletier <email@hidden>)
 >Re: Entity Modeler SQL generation exception (From: Ângelo Andrade Cirino <email@hidden>)
 >RE: Entity Modeler SQL generation exception (From: Wolfgang Halbeisen <email@hidden>)
 >Re: Entity Modeler SQL generation exception (From: Ken Anderson <email@hidden>)

  • Prev by Date: Re: Entity Modeler SQL generation exception
  • Next by Date: Help finding framework dependencies
  • Previous by thread: Re: Entity Modeler SQL generation exception
  • Next by thread: Re: Entity Modeler SQL generation exception
  • Index(es):
    • Date
    • Thread