Bug 1268864 - Cannot execute VDB which include UDF
Summary: Cannot execute VDB which include UDF
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Tooling
Version: 6.2.0
Hardware: Unspecified
OS: Windows
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Barry LaFond
QA Contact: Matus Makovy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-05 13:26 UTC by Matej Kralik
Modified: 2015-11-17 18:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-17 18:05:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Project with VDB (66.19 KB, application/zip)
2015-10-05 13:26 UTC, Matej Kralik
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIIDDES-2678 0 Blocker Closed Cannot execute VDB which include UDF 2017-10-25 14:29:07 UTC

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


Note You need to log in before you can comment on or make changes to this bug.