Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1268864

Summary: Cannot execute VDB which include UDF
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Matej Kralik <mkralik>
Component: ToolingAssignee: Barry LaFond <blafond>
Status: CLOSED CURRENTRELEASE QA Contact: Matus Makovy <mmakovy>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: drieden, vhalbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-17 18:05:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Project with VDB none

Description Matej Kralik 2015-10-05 13:26:20 UTC
Created attachment 1079968 [details]
Project with VDB

When I want execute VDB which include view Table with user define function, show me this dialog in the teiid designer : "Cannot execute VDB - still loading" and server show this stack trace:

ERROR [stderr] (teiid-async-threads - 1) Exception in thread "teiid-async-threads - 1" org.teiid.metadata.MetadataException: TEIID30387 Could not load UDF "ConcatNull", since its invocation class "userdefinedfunctions.ConcatNull" could not be found.
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.teiid.query.function.FunctionTree.createFunctionDescriptor(FunctionTree.java:285)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.teiid.query.function.FunctionTree.addFunction(FunctionTree.java:190)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.teiid.query.function.FunctionTree.<init>(FunctionTree.java:91)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.teiid.deployers.CompositeVDB.buildTransformationMetaData(CompositeVDB.java:85)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.teiid.deployers.CompositeVDB.metadataLoadFinished(CompositeVDB.java:265)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.teiid.deployers.VDBRepository.finishDeployment(VDBRepository.java:291)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.teiid.runtime.AbstractVDBDeployer.metadataLoaded(AbstractVDBDeployer.java:202)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.teiid.jboss.VDBService.access$1100(VDBService.java:85)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.teiid.jboss.VDBService$6.run(VDBService.java:411)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.teiid.jboss.VDBService$7.run(VDBService.java:442)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at java.lang.Thread.run(Thread.java:745)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.jboss.threads.JBossThread.run(JBossThread.java:122)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) Caused by: java.lang.ClassNotFoundException: userdefinedfunctions.ConcatNull from [Module "deployment.UdfVdb.vdb:main" from Service Module Loader]
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
14:44:52,252 ERROR [stderr] (teiid-async-threads - 1) 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) 	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) 	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) 	at java.lang.Class.forName0(Native Method)
14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) 	at java.lang.Class.forName(Class.java:348)
14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) 	at org.teiid.query.function.UDFSource.getInvocationClass(UDFSource.java:43)
14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) 	at org.teiid.query.function.FunctionTree.createFunctionDescriptor(FunctionTree.java:275)
14:44:52,253 ERROR [stderr] (teiid-async-threads - 1) 	... 13 more

Steps to Reproduce:
1.import project from attachment
2.click right to UdfVdb (Modeling -> execute VDB)

Comment 1 JBoss JIRA Server 2015-10-09 08:13:50 UTC
Paul Richardson <p.g.richardson.uk> updated the status of jira TEIIDDES-2678 to Resolved

Comment 2 JBoss JIRA Server 2015-10-21 06:37:27 UTC
Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2678 to Closed