# My COMBODYN2 control throws an exception

**URL:** <https://techcommunity.softwareag.com/t/my-combodyn2-control-throws-an-exception/57228>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Application-Composer\
**Created:** [February 22, 2006, 2:14pm UTC](https://techcommunity.softwareag.com/t/my-combodyn2-control-throws-an-exception/57228 "2006-02-22T14:14:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Serhat](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Serhat](https://techcommunity.softwareag.com/u/Serhat)\
**Post date:** [February 22, 2006, 2:14pm UTC](https://techcommunity.softwareag.com/t/my-combodyn2-control-throws-an-exception/57228/1 "2006-02-22T14:14:16Z")

</div>

Hi ,  
My COMBODYN2 widgets throws an exception whenever I choose an option from them.I don’t see any effect on front end but some exception appears in log.

```auto

java.lang.Exception: Property text is not supported with com.softwareag.cis.server.util.ValidValueLine@1f9bdc4
	at com.softwareag.cis.server.InteractionModel.getPropertyValue(Unknown Source)
	at com.softwareag.cis.server.util.ObjectAccessUtil.getPropertyValue(Unknown Source)
	at com.softwareag.cis.server.Adapter.a(Unknown Source)
	at com.softwareag.cis.server.Adapter.openIdValueCombo(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:585)
	at com.softwareag.cis.server.InteractionModel.invokeMethodInternally(Unknown Source)
	at com.softwareag.cis.server.InteractionModel.invokeMethod(Unknown Source)
	at com.softwareag.cis.server.XMLProcessor.processXML(Unknown Source)
	at com.softwareag.cis.server.Connector.doPost(Unknown Source)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Thread.java:595)
```

Combo definition

```auto

 <combodyn2 valueprop="channel" validvaluesprop="validChannels" renderasfield="true">
  </combodyn2>
```

Relevant Class Codes

```auto

...
...
...
private String m_channel;
private COMBODYNValidValues m_validChannels = new COMBODYNValidValues();
...
...
...
public void init() {
...
...
        for (int i = 0; i < channels.size(); i++) {
            ChannelDM channel = (ChannelDM) channels.get(i);
            getValidChannels().addValidValue(String.valueOf(i),channel.getChannelName()); 
...
...            
       }

 public ValidValueLine[] findValidValuesForChannel()
    {
         return getValidChannels().getItems();
         
    }
...
...
```

According to developer’s guide setting render as field option to true has a disadvantage .It says “When selecting a value from the valid value list then the value is displayed with its id - not with its  
description”. As I seen it doesn’t has that disadvantage.It just works well except the “exception” thing.  
Did I missed any attributes to set or any code to do ? Any suggestions ?

Thanks .

---

<div class="post-metadata">

**Author:** ![Bjoern\_Mueller](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@Bjoern\_Mueller](https://techcommunity.softwareag.com/u/Bjoern_Mueller)\
**Post date:** [February 23, 2006, 12:17am UTC](https://techcommunity.softwareag.com/t/my-combodyn2-control-throws-an-exception/57228/2 "2006-02-23T00:17:25Z")

</div>

…you require a method:

COMBODYNValidValues getValidChannels() {  
return m\_validChannels;  
}

…your getValidChannels() method seems not to return a COMBODYNVlaidValues.

Bjoern

---

<div class="post-metadata">

**Author:** ![Serhat](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Serhat](https://techcommunity.softwareag.com/u/Serhat)\
**Post date:** [February 23, 2006, 2:06pm UTC](https://techcommunity.softwareag.com/t/my-combodyn2-control-throws-an-exception/57228/3 "2006-02-23T14:06:01Z")

</div>

Hi Bjoern ,  
Ofcourse I have that method. I just didn’t put in my code examples.

---

<div class="post-metadata">

**Author:** ![Serhat](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Serhat](https://techcommunity.softwareag.com/u/Serhat)\
**Post date:** [February 23, 2006, 2:06pm UTC](https://techcommunity.softwareag.com/t/my-combodyn2-control-throws-an-exception/57228/4 "2006-02-23T14:06:31Z")

</div>

Hi Bjoern ,  
Ofcourse I have that method. I just didn’t put in my code examples.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:38pm UTC](https://techcommunity.softwareag.com/t/my-combodyn2-control-throws-an-exception/57228/5 "2021-04-02T14:38:29Z")

</div>


