Bug 1164285 - IllegalArgumentException when trying to edit expression using Expression Builder
Summary: IllegalArgumentException when trying to edit expression using Expression Builder
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Tooling
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER5
: 6.1.0
Assignee: Barry LaFond
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-14 14:45 UTC by Andrej Smigala
Modified: 2015-11-17 18:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
When the user opened the Expression Builder he with cursor positioned in an existing expression (other than a simple constant or column reference), the following error would be logged multiple times: java.lang.IllegalArgumentException. This happened because FunctionForm constructor was performing a toUpper() on the category, but the UI and FunctionLibrary was using the unaltered category. It was fixed by removing the toUpper() to keep all things constent. As a result, this exception is no longer encountered.
Clone Of:
Environment:
Last Closed: 2015-11-17 18:08:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
log (32.05 KB, text/plain)
2014-11-14 14:45 UTC, Andrej Smigala
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIIDDES-2391 0 Major Closed IllegalArgumentException when trying to edit expression using Expression Builder 2017-12-05 07:46:15 UTC

Description Andrej Smigala 2014-11-14 14:45:13 UTC
Created attachment 957617 [details]
log

When opening the expression builder with cursor positioned in an existing expression (other than a simple constant or column reference), the following error is logged multiple times:

    java.lang.IllegalArgumentException: Expected argument to be non-null but got null

(relevant part of log attached)

After that, the expression builder behaves in unpredictable way (values do not update etc)


Steps to reproduce:

1. Create a new view table
2. Set the transformation SQL to SELECT concat('a', 'b') AS c1
3. Save the model
4. Place the cursor in the concat expression
5. Click the Expression Builder button

Comment 2 JBoss JIRA Server 2014-11-14 19:58:05 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2391 to Resolved

Comment 3 JBoss JIRA Server 2015-02-12 08:46:45 UTC
Andrej Šmigala <asmigala> updated the status of jira TEIIDDES-2391 to Closed


Note You need to log in before you can comment on or make changes to this bug.