| Summary: | [Forge] Got java runtime exception "unknow request parameter type array" when run rhc setup in forge shell | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | weiwei jiang <wjiang> |
| Component: | Master | Assignee: | Ravi Sankar <rpenta> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.x | CC: | jhonce, wsun |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-19 16:47:48 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: | |
|
Description
weiwei jiang
2013-08-22 11:24:08 UTC
Looks like the Forge shell is installing openshift-java-client-2.0.1.jar when I reproduced this. ARRAY type appears to be a recent (November 21, 2012) addition to the list of allowed types, which probably explains why the problem is bubbling up here. https://github.com/openshift/openshift-java-client/commit/d2199da8c8ddcc22c1ed40fa8718296b9bc480d0#L12R20 Latest tag on the source is 2.3.0, so I assume that if Forge can pick this up, the problem will go away. Editing the plugin's source pom.xml to use openshift-java-client 2.3.0 results in: [ERROR] Failed to execute goal on project forge-openshift-plugin: Could not resolve dependencies for project com.redhat.openshift:forge-openshift-plugin:jar:1.0.6.Final: Could not find artifact com.openshift:openshift-java-client:jar:2.3.0 in JBOSS_NEXUS (http://repository.jboss.org/nexus/content/groups/public) -> [Help 1] The artifact needs to be published. Assigning this to Dan Mace. Related to same issue. Ravi, I think this is the same issue fixed in https://github.com/openshift/origin-server/pull/3559 Has this fix been put in master? Yes, fix is available in master(devenv_3751) PR: https://github.com/openshift/origin-server/pull/3558 Test on devenv_3762 with forge 1.4.0.final & openshift 1.0.6.final, work well, so verified it, thx |