[Owlgres] Non-distinguished var shouldn't be named in SQL

Michael Smith msmith at clarkparsia.com
Tue May 13 13:05:05 UTC 2008


On Tue, 2008-05-13 at 08:15 -0400, Michael Smith wrote:
> On Tue, 2008-05-13 at 12:31 +0200, Miquel Angel Pareja Rendon wrote:
> 
> > "Exception in thread "main" java.lang.AssertionError:
> > Non-distinguished var shoudln't be named in SQL
> > at com.clarkparsia.owlgres.store.connection.impl.SQLQueryBuilder
> > $SQLQueryBuilder.sqlNameFor(SQLQueryBuilder.java:341)"
> 
> > I created correctly the database and executed with success the load
> > script in /sh subfolder, but when I try to test whatever of the
> > examples, I get the same exception.
> 
> > Is it a common mistake? I did all things indicated in the readme.txt
> > file.
> 
> You are the first to report this, but it may be common.

Further investigation shows this will happen anytime you use the system
with assertions enabled.  We didn't catch this because most JVMs disable
assertions by default.  For now, you can workaround the problem by
disabling the assertion. This can be done for this specific class using
the command line argument

-da:com.clarkparsia.owlgres.store.connection.impl.SQLQueryBuilder

We are investigating the assertion case now to determine if the runtime
or the assertion is in error.

I have opened a ticket for this issue [36].

Thanks for the report,
-- 
Mike Smith

Clark & Parsia

[36] http://cvsdude.com/trac/clark-parsia/rank/ticket/36



More information about the Owlgres mailing list