Unexpected error constructing absolute URI:Illegal character
Hi,
I have the following error when I create a simple asset.
And the stack trace:
Any idea?
Environment:
- RAM 7.2.0..2
- WAS 7.0.0.7
- DB2 9.5
Thanks,
Jorge
I have the following error when I create a simple asset.
Unexpected error constructing absolute URI: Illegal character in scheme name at index 0: https://ram:9445/jazz
And the stack trace:
javax.servlet.ServletException: #{submitAssetHandler.doFinishAction}: java.lang.IllegalStateException: Unable to submit asset "{2E131B7D-B1AC-2816-80E3-8A83A319C9A6} ‎[1.0]"
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1589)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1523)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at com.ibm.ram.repository.web.security.RAMServletFilter.doFilter(RAMServletFilter.java:418)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ram.repository.web.filters.GZipFilter.doFilter(GZipFilter.java:42)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:885)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:865)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:863)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:182)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
Caused by: javax.faces.FacesException: #{submitAssetHandler.doFinishAction}: java.lang.IllegalStateException: Unable to submit asset "{2E131B7D-B1AC-2816-80E3-8A83A319C9A6} ‎[1.0]"
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:458)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:763)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 29 more
Caused by: javax.faces.el.EvaluationException: java.lang.IllegalStateException: Unable to submit asset "{2E131B7D-B1AC-2816-80E3-8A83A319C9A6} ‎[1.0]"
at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
... 36 more
Caused by: java.lang.IllegalStateException: Unable to submit asset "{2E131B7D-B1AC-2816-80E3-8A83A319C9A6} ‎[1.0]"
at com.ibm.ram.repository.assets.AssetManager.submitAssetWithState(AssetManager.java:4793)
at com.ibm.ram.repository.assets.AssetManager.submitAssetAsDraft(AssetManager.java:4407)
at com.ibm.ram.repository.web.upload.SubmitAssetHandler.uploadAsset(SubmitAssetHandler.java:299)
at com.ibm.ram.repository.web.upload.SubmitAssetHandler.doFinishAction(SubmitAssetHandler.java:845)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
... 37 more
Caused by: com.ibm.ram.common.data.exception.RAMRuntimeException: com.ibm.ram.common.data.exception.RAMRuntimeException: java.lang.IllegalStateException: Unexpected error constructing absolute URI: Illegal character in scheme name at index 0: https://ram:9445/jazz
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.save(AssetLifecycleManager.java:406)
at com.ibm.ram.repository.assets.AssetManager.submitAssetWithState(AssetManager.java:4776)
... 47 more
Caused by: com.ibm.ram.common.data.exception.RAMRuntimeException: java.lang.IllegalStateException: Unexpected error constructing absolute URI: Illegal character in scheme name at index 0: https://ram:9445/jazz
at com.ibm.ram.repository.lifecycle.LifecycleManager.getImplicitLifecycle(LifecycleManager.java:107)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.getLifecycleBestMatch(AssetLifecycleManager.java:4077)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.handleEventCycle(AssetLifecycleManager.java:1548)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.handleEvent(AssetLifecycleManager.java:514)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.save(AssetLifecycleManager.java:395)
... 48 more
Caused by: java.lang.IllegalStateException: Unexpected error constructing absolute URI: Illegal character in scheme name at index 0: https://ram:9445/jazz
at com.ibm.team.repository.common.Location.toAbsoluteUri(Location.java:1232)
at com.ibm.team.workitem.common.internal.ResourceLocation.createImageContentServiceURL(ResourceLocation.java:136)
at com.ibm.team.workitem.common.internal.ResourceLocation.getProcessAttachmentURL(ResourceLocation.java:120)
at com.ibm.team.workitem.common.internal.ResourceLocation.getResourceURL(ResourceLocation.java:95)
at com.ibm.team.workitem.common.internal.ResourceLocation.getResourceURL(ResourceLocation.java:67)
at com.ibm.team.workitem.common.internal.ResourceLocation.getResourceURL(ResourceLocation.java:77)
at com.ibm.team.workitem.common.internal.ConfigurationItemManager.createResourceURL(ConfigurationItemManager.java:205)
at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.readElement(WorkItemTypeManager.java:229)
at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.readElement(WorkItemTypeManager.java:1)
at com.ibm.team.workitem.common.internal.ConfigurationItemManager.readConfigurationItem(ConfigurationItemManager.java:189)
at com.ibm.team.workitem.common.internal.ConfigurationItemManager.readConfigurationItems(ConfigurationItemManager.java:182)
at com.ibm.team.workitem.common.internal.ConfigurationItemManager.readConfigurationItems(ConfigurationItemManager.java:147)
at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.readConfigurationItems(WorkItemTypeManager.java:264)
at com.ibm.team.workitem.common.internal.ConfigurationItemManager$CacheManager.updateCache(ConfigurationItemManager.java:52)
at com.ibm.team.workitem.common.internal.util.CacheHelper.internalCheckCache(CacheHelper.java:107)
at com.ibm.team.workitem.common.internal.util.CacheHelper.checkCache(CacheHelper.java:64)
at com.ibm.team.workitem.common.internal.util.CacheHelper.checkCache(CacheHelper.java:55)
at com.ibm.team.workitem.common.internal.ConfigurationItemManager.findConfigurationItem(ConfigurationItemManager.java:103)
at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.findConfigurationItem(WorkItemTypeManager.java:161)
at com.ibm.team.workitem.common.internal.WorkItemCommon.findWorkItemType(WorkItemCommon.java:332)
at com.ibm.ram.jazz.internal.client.JazzClientInstance.findWorkitemType(JazzClientInstance.java:510)
at com.ibm.ram.jazz.internal.client.JazzClientInstance.getWorkflow(JazzClientInstance.java:499)
at com.ibm.ram.jazz.internal.client.JazzClientInstance.jcGetWorkflow(JazzClientInstance.java:491)
at com.ibm.ram.rtc.access.JazzClient.getWorkflow(JazzClient.java:943)
at com.ibm.ram.repository.lifecycle.LifecycleManager.getWorkflow(LifecycleManager.java:322)
at com.ibm.ram.repository.lifecycle.LifecycleManager.getImplicitLifecycle(LifecycleManager.java:99)
... 52 more
Any idea?
Environment:
- RAM 7.2.0..2
- WAS 7.0.0.7
- DB2 9.5
Thanks,
Jorge
One answer
Thanks Rich,
You were right, there was a space character at the beginning of the field on the Configuration page.
You were right, there was a space character at the beginning of the field on the Configuration page.
Hi,
I have the following error when I create a simple asset.
Unexpected error constructing absolute URI: Illegal character in scheme name at index 0: https://ram:9445/jazz
And the stack trace:
javax.servlet.ServletException: #{submitAssetHandler.doFinishAction}: java.lang.IllegalStateException: Unable to submit asset "{2E131B7D-B1AC-2816-80E3-8A83A319C9A6} ‎[1.0]"
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1589)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1523)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
at com.ibm.ram.repository.web.security.RAMServletFilter.doFilter(RAMServletFilter.java:418)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ram.repository.web.filters.GZipFilter.doFilter(GZipFilter.java:42)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:885)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:865)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:863)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:182)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
Caused by: javax.faces.FacesException: #{submitAssetHandler.doFinishAction}: java.lang.IllegalStateException: Unable to submit asset "{2E131B7D-B1AC-2816-80E3-8A83A319C9A6} ‎[1.0]"
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:458)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:763)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 29 more
Caused by: javax.faces.el.EvaluationException: java.lang.IllegalStateException: Unable to submit asset "{2E131B7D-B1AC-2816-80E3-8A83A319C9A6} ‎[1.0]"
at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
... 36 more
Caused by: java.lang.IllegalStateException: Unable to submit asset "{2E131B7D-B1AC-2816-80E3-8A83A319C9A6} ‎[1.0]"
at com.ibm.ram.repository.assets.AssetManager.submitAssetWithState(AssetManager.java:4793)
at com.ibm.ram.repository.assets.AssetManager.submitAssetAsDraft(AssetManager.java:4407)
at com.ibm.ram.repository.web.upload.SubmitAssetHandler.uploadAsset(SubmitAssetHandler.java:299)
at com.ibm.ram.repository.web.upload.SubmitAssetHandler.doFinishAction(SubmitAssetHandler.java:845)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.apache.el.parser.AstValue.invoke(AstValue.java:131)
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:277)
at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
... 37 more
Caused by: com.ibm.ram.common.data.exception.RAMRuntimeException: com.ibm.ram.common.data.exception.RAMRuntimeException: java.lang.IllegalStateException: Unexpected error constructing absolute URI: Illegal character in scheme name at index 0: https://ram:9445/jazz
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.save(AssetLifecycleManager.java:406)
at com.ibm.ram.repository.assets.AssetManager.submitAssetWithState(AssetManager.java:4776)
... 47 more
Caused by: com.ibm.ram.common.data.exception.RAMRuntimeException: java.lang.IllegalStateException: Unexpected error constructing absolute URI: Illegal character in scheme name at index 0: https://ram:9445/jazz
at com.ibm.ram.repository.lifecycle.LifecycleManager.getImplicitLifecycle(LifecycleManager.java:107)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.getLifecycleBestMatch(AssetLifecycleManager.java:4077)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.handleEventCycle(AssetLifecycleManager.java:1548)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.handleEvent(AssetLifecycleManager.java:514)
at com.ibm.ram.repository.lifecycle.AssetLifecycleManager.save(AssetLifecycleManager.java:395)
... 48 more
Caused by: java.lang.IllegalStateException: Unexpected error constructing absolute URI: Illegal character in scheme name at index 0: https://ram:9445/jazz
at com.ibm.team.repository.common.Location.toAbsoluteUri(Location.java:1232)
at com.ibm.team.workitem.common.internal.ResourceLocation.createImageContentServiceURL(ResourceLocation.java:136)
at com.ibm.team.workitem.common.internal.ResourceLocation.getProcessAttachmentURL(ResourceLocation.java:120)
at com.ibm.team.workitem.common.internal.ResourceLocation.getResourceURL(ResourceLocation.java:95)
at com.ibm.team.workitem.common.internal.ResourceLocation.getResourceURL(ResourceLocation.java:67)
at com.ibm.team.workitem.common.internal.ResourceLocation.getResourceURL(ResourceLocation.java:77)
at com.ibm.team.workitem.common.internal.ConfigurationItemManager.createResourceURL(ConfigurationItemManager.java:205)
at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.readElement(WorkItemTypeManager.java:229)
at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.readElement(WorkItemTypeManager.java:1)
at com.ibm.team.workitem.common.internal.ConfigurationItemManager.readConfigurationItem(ConfigurationItemManager.java:189)
at com.ibm.team.workitem.common.internal.ConfigurationItemManager.readConfigurationItems(ConfigurationItemManager.java:182)
at com.ibm.team.workitem.common.internal.ConfigurationItemManager.readConfigurationItems(ConfigurationItemManager.java:147)
at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.readConfigurationItems(WorkItemTypeManager.java:264)
at com.ibm.team.workitem.common.internal.ConfigurationItemManager$CacheManager.updateCache(ConfigurationItemManager.java:52)
at com.ibm.team.workitem.common.internal.util.CacheHelper.internalCheckCache(CacheHelper.java:107)
at com.ibm.team.workitem.common.internal.util.CacheHelper.checkCache(CacheHelper.java:64)
at com.ibm.team.workitem.common.internal.util.CacheHelper.checkCache(CacheHelper.java:55)
at com.ibm.team.workitem.common.internal.ConfigurationItemManager.findConfigurationItem(ConfigurationItemManager.java:103)
at com.ibm.team.workitem.common.internal.model.WorkItemTypeManager.findConfigurationItem(WorkItemTypeManager.java:161)
at com.ibm.team.workitem.common.internal.WorkItemCommon.findWorkItemType(WorkItemCommon.java:332)
at com.ibm.ram.jazz.internal.client.JazzClientInstance.findWorkitemType(JazzClientInstance.java:510)
at com.ibm.ram.jazz.internal.client.JazzClientInstance.getWorkflow(JazzClientInstance.java:499)
at com.ibm.ram.jazz.internal.client.JazzClientInstance.jcGetWorkflow(JazzClientInstance.java:491)
at com.ibm.ram.rtc.access.JazzClient.getWorkflow(JazzClient.java:943)
at com.ibm.ram.repository.lifecycle.LifecycleManager.getWorkflow(LifecycleManager.java:322)
at com.ibm.ram.repository.lifecycle.LifecycleManager.getImplicitLifecycle(LifecycleManager.java:99)
... 52 more
Any idea?
Environment:
- RAM 7.2.0..2
- WAS 7.0.0.7
- DB2 9.5
Thanks,
Jorge