[
https://jira.jboss.org/browse/TEIID-1201?page=com.atlassian.jira.plugin.s...
]
Ramesh Reddy resolved TEIID-1201.
---------------------------------
Resolution: Done
Fixed the issue with StringUtil utility where it did not know how to handle the URL as the
argument. The issue is the PropertiesUtil.setBeanProperty does not effectively look for
override methods on an object.
This issue could have also fixed by renaming the method in
"VDBMetadata.setUrl(URL)" to something else.
Property 'Url' with value
'vfsfile:/home/pnittel/Teiid71/jboss-5.1.0.GA/server/default/deploy/EyeTuneZ-vdb.xml'
is not a valid URL
----------------------------------------------------------------------------------------------------------------------------------
Key: TEIID-1201
URL:
https://jira.jboss.org/browse/TEIID-1201
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 7.1
Environment: Fedora 12, Java(TM) SE Runtime Environment (build 1.6.0_17-b04),
Teiid 7.1CR2 build 8/10
Reporter: Paul Nittel
Assignee: Ramesh Reddy
Fix For: 7.1
Attachments: EyeTuneZ-vdb.xml, itunes-file-ds.xml, miTunes Music Library.xml
While trying to recreate the iTunes E2E test, I deployed a dynamic VDB which points to my
iTunes XML file. When first deployed, it produced the error in the title. Subsequent tries
to get it to fail, failed, but Ramesh noted AdminShell's getVDBs() method would
trigger it.
[AdminComponentException] 0: Error Code:0 Message:Error Code:0 Message:Property
'Url' with value
'vfsfile:/home/pnittel/Teiid71CR2_0810/jboss-5.1.0.GA/server/default/deploy/EyeTuneZ-vdb.xml'
is not a valid URL.
1 [AdminComponentException] 0: Error Code:0 Message:Property 'Url' with value
'vfsfile:/home/pnittel/Teiid71CR2_0810/jboss-5.1.0.GA/server/default/deploy/EyeTuneZ-vdb.xml'
is not a valid URL.
2 [InvalidPropertyException] 0: Property 'Url' with value
'vfsfile:/home/pnittel/Teiid71CR2_0810/jboss-5.1.0.GA/server/default/deploy/EyeTuneZ-vdb.xml'
is not a valid URL.
3 [IllegalArgumentException]Conversion from String to java.net.URL is not supported
at org.teiid.client.util.ExceptionUtil.convertException(ExceptionUtil.java:72)
at
org.teiid.jboss.deployers.RuntimeEngineDeployer$1.invoke(RuntimeEngineDeployer.java:252)
at $Proxy258.getVDBs(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.teiid.transport.ServerWorkItem.run(ServerWorkItem.java:81)
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:188)
at
org.teiid.transport.SocketClientInstance.processMessagePacket(SocketClientInstance.java:160)
at
org.teiid.transport.SocketClientInstance.receivedMessage(SocketClientInstance.java:149)
at
org.teiid.transport.SSLAwareChannelHandler.messageReceived(SSLAwareChannelHandler.java:210)
at
org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:100)
at
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
at
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
at
org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:144)
at
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
at
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302)
at
org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:317)
at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:299)
at
org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:216)
at
org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
at
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
at
org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:540)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:340)
at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:272)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:192)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: [AdminComponentException] 0: Error Code:0 Message:Property 'Url' with
value
'vfsfile:/home/pnittel/Teiid71CR2_0810/jboss-5.1.0.GA/server/default/deploy/EyeTuneZ-vdb.xml'
is not a valid URL.
1 [InvalidPropertyException] 0: Property 'Url' with value
'vfsfile:/home/pnittel/Teiid71CR2_0810/jboss-5.1.0.GA/server/default/deploy/EyeTuneZ-vdb.xml'
is not a valid URL.
2 [IllegalArgumentException]Conversion from String to java.net.URL is not supported
at org.teiid.adminapi.jboss.Admin.getVDBs(Admin.java:229)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.teiid.logging.LogManager$LoggingProxy.invoke(LogManager.java:121)
at
org.teiid.jboss.deployers.RuntimeEngineDeployer$1.invoke(RuntimeEngineDeployer.java:246)
... 33 more
Caused by: Property 'Url' with value
'vfsfile:/home/pnittel/Teiid71CR2_0810/jboss-5.1.0.GA/server/default/deploy/EyeTuneZ-vdb.xml'
is not a valid URL.Conversion from String to java.net.URL is not supported
at org.teiid.core.util.PropertiesUtils.setBeanProperty(PropertiesUtils.java:998)
at org.teiid.adminapi.jboss.AdminObjectBuilder.buildAO(AdminObjectBuilder.java:70)
at org.teiid.adminapi.jboss.Admin.getVDBs(Admin.java:225)
... 39 more
Caused by: java.lang.IllegalArgumentException: Conversion from String to java.net.URL is
not supported
at org.teiid.core.util.StringUtil.valueOf(StringUtil.java:1006)
at org.teiid.core.util.PropertiesUtils.setBeanProperty(PropertiesUtils.java:994)
... 41 more
Appropriate artifacts will be attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira