Problems creating organizations error "java.lang.String cannot be cast to java.lang.Boolean"

Description

When creating a new organization the system shows an error.

Steps to duplicate:

Select "Organization" from menu.
Select "New Record" from toolbar.
Insert any value on the field "Search Key"
Change to other field and the system will display the error

java.lang.String cannot be cast to java.lang.Boolean

At this point the user is unable to "Save" or "Undo Changes"

Environment

Activity

Show:
Victor Perez Juarez
May 22, 2014, 2:13 AM

Hi Francisco!

I can see that this bug was introducing in 7392, allowed to Mike

kind regards
Victor

Victor Perez Juarez
May 22, 2014, 2:14 AM

Hi Mike , I can see that this bug fix was added in 7392 revision.

Would you help me to review ?

Kind regards
Victor

Victor Perez Juarez
May 22, 2014, 2:21 AM

===========> CWindowToolbar.doOnClick: Could not invoke Toolbar listener method: onNew() [795]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.adempiere.webui.component.CWindowToolbar.doOnClick(CWindowToolbar.java:347)
at org.adempiere.webui.component.CWindowToolbar.onEvent(CWindowToolbar.java:311)
at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:197)
at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141)
at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519)
at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446)
caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
at org.adempiere.webui.panel.ADTabpanel.rowChanged(ADTabpanel.java:1262)
at org.adempiere.webui.panel.ADTabpanel.dataStatusChanged(ADTabpanel.java:1071)
at org.compiere.model.GridTab.fireDataStatusChanged(GridTab.java:2292)
at org.compiere.model.GridTab.dataStatusChanged(GridTab.java:2265)
at org.compiere.model.GridTable.fireDataStatusChanged(GridTable.java:3169)
at org.compiere.model.GridTable.fireDataStatusIEvent(GridTable.java:3197)
at org.compiere.model.GridTable.dataNew(GridTable.java:2533)
at org.compiere.model.GridTab.dataNew(GridTab.java:1145)
at org.adempiere.webui.panel.AbstractADWindowPanel.onNew(AbstractADWindowPanel.java:1362)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.adempiere.webui.component.CWindowToolbar.doOnClick(CWindowToolbar.java:347)
at org.adempiere.webui.component.CWindowToolbar.onEvent(CWindowToolbar.java:311)
at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:197)
at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141)
at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519)
at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446)

Michael McKay
June 29, 2014, 2:25 PM

Issue resolved. Fix committed to release/380 branch:

Changeset: 7772 (029f8b926ba5) Fix error on creation of new node.
Branch: release/380rc1
User: mjmckay <michael.mckay@sympatico.ca>
Date: 2014-06-29 10:18:07 -0400 (6 minutes)
Parent: 7750 (829ea15af72b) Merge with feature/ADEMPIERE-294-Upgrade-to-zk-7.02
Tags: tip

Fixed

Assignee

Michael McKay

Reporter

Francisco Burbano

Labels

None

Affects versions

Due date

2014/05/20

Priority

Major
Configure