dynamobi/dynamobi — Issue #591: [FRG-281] Problems running time dimension UDX
Author: dynamobi-build
Created: 2011-12-30 03:37:17+00:00
State: closed
Labels: FRG, UDF

[reporter="elin", created="Fri, 13 Jul 2007 19:00:43 -0500 (GMT-05:00)"]
Running time dimension UDX on my dev enviromnent using sqllineEngine fails even though there have been no changes to any of the time dimension code. It's getting a java.lang.NoSuchFieldError when the UDX calls the static function of another UDF.

If you delete the class files in luciddb and farrago, the generated applib resource files and the jars under the luciddb plugin directory and rebuild, the problem will stop happening.

[excerpt from im log w/ jvs]

(06:11:42 PM) jsichi: Hmmm...could be some weird classloader thing since the UDF's public static entry point gets loaded if it's used from SQL also. I don't know why deleting everything would help...could be just an accidental help from shutdown and then restart.

(06:12:20 PM) jsichi: The way to test it would be to move the implementation of getCalendarQuarter into some other common class, have both call it, and see if the prob goes away.

(06:13:05 PM) jsichi: If so, that would be something to log a bug for (either we figure out a way to improve the classloading, or write up documentation on this as a pattern to avoid).

===========

Doing the above suggestion does fix the problem