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 protected]> 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 protected] 
>> <mailto:[email protected]>> 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 
>> <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 protected] <mailto:[email protected]>
>> Date: Thu, 7 May 2015 13:06:51 -0300
>> To: [email protected] <mailto:[email protected]>
>> CC: [email protected] <mailto:[email protected]>
>> 
>> 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 protected] 
>> <mailto:[email protected]>> 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 protected] <mailto:[email protected]>
>> 
>> "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 protected] <mailto:[email protected]>) 
>> Help/Unsubscribe/Update your Subscription: 
>> https://lists.apple.com/mailman/options/webobjects-dev/halbeisen%40hotmail.com
>>  
>> <https://lists.apple.com/mailman/options/webobjects-dev/halbeisen%40hotmail.com>
>>  This email sent to [email protected] 
>> <mailto:[email protected]>_______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected] 
>> <mailto:[email protected]>)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
>>  
>> <https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com>
>> 
>> This email sent to [email protected]
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to