[jbosstools-issues] [JBoss JIRA] (JBIDE-20564) Error occurs when selecting any *-persistent template

Fred Bricon (JIRA) issues at jboss.org
Fri Sep 4 09:11:00 EDT 2015


     [ https://issues.jboss.org/browse/JBIDE-20564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Bricon updated JBIDE-20564:
--------------------------------
    Priority: Blocker  (was: Major)


> Error occurs when selecting any *-persistent template
> -----------------------------------------------------
>
>                 Key: JBIDE-20564
>                 URL: https://issues.jboss.org/browse/JBIDE-20564
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.3.0.CR1
>            Reporter: Fred Bricon
>            Assignee: Jeff Cantrill
>            Priority: Blocker
>
> In the new application wizard, when selecting the amq6-persistent (or any *-persistent) template in the viewer, an error is displayed (An error occurred while setting the value.).
> Under the  hood this is logged:
> {noformat}
> Caused by: com.openshift.restclient.ResourceFactoryException: There was an exception creating the resource from: {"apiVersion" : "v1", "kind" : "PersistentVolumeClaim", "metadata" : {"name" : "${APPLICATION_NAME}-amq-claim", "labels" : {"application" : "${APPLICATION_NAME}"}}, "spec" : {"accessModes" : ["ReadWriteOnce"], "resources" : {"requests" : {"storage" : "${VOLUME_CAPACITY}"}}}}
> 	at com.openshift.internal.restclient.ResourceFactory.create(ResourceFactory.java:173)
> 	at com.openshift.internal.restclient.ResourceFactory.create(ResourceFactory.java:160)
> 	at com.openshift.internal.restclient.model.template.Template.getItems(Template.java:71)
> 	at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.initTemplateParameters(NewApplicationWizardModel.java:116)
> 	at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.update(NewApplicationWizardModel.java:68)
> 	at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.setTemplate(NewApplicationWizardModel.java:107)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:497)
> 	at org.eclipse.core.internal.databinding.beans.BeanPropertyHelper.writeProperty(BeanPropertyHelper.java:59)
> 	... 139 more
> Caused by: com.openshift.restclient.ResourceFactoryException: Unable to create v1 resource kind PersistentVolumeClaim from {
>     "apiVersion" => "v1",
>     "kind" => "PersistentVolumeClaim",
>     "metadata" => {
>         "name" => "${APPLICATION_NAME}-amq-claim",
>         "labels" => {"application" => "${APPLICATION_NAME}"}
>     },
>     "spec" => {
>         "accessModes" => ["ReadWriteOnce"],
>         "resources" => {"requests" => {"storage" => "${VOLUME_CAPACITY}"}}
>     }
> }
> 	at com.openshift.internal.restclient.ResourceFactory.create(ResourceFactory.java:199)
> 	at com.openshift.internal.restclient.ResourceFactory.create(ResourceFactory.java:169)
> 	... 149 more
> Caused by: java.lang.NullPointerException
> 	at com.openshift.internal.restclient.ResourceFactory.create(ResourceFactory.java:194)
> 	... 150 more
> {noformat} 
> [~jcantrill]: is this a problem with the client or a problem with the templates?



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list