Discussions
Categories
- 197K All Categories
- 2.5K Data
- 546 Big Data Appliance
- 1.9K Data Science
- 450.8K Databases
- 221.9K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 552 MySQL Community Space
- 479 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.1K ORDS, SODA & JSON in the Database
- 556 SQLcl
- 4K SQL Developer Data Modeler
- 187.2K SQL & PL/SQL
- 21.4K SQL Developer
- 296.3K Development
- 17 Developer Projects
- 139 Programming Languages
- 293K Development Tools
- 110 DevOps
- 3.1K QA/Testing
- 646.1K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 158 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.2K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 19 Java Essentials
- 162 Java 8 Questions
- 86K Java Programming
- 81 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 205 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 468 LiveLabs
- 39 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 175 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 233 Portuguese
Error With Stacked Bar Chart

Hello All,
I'm using Jdev version 12.2.1.2.0
I Have a parent table and a Child Table, in the Parent Table I have 3 transient attribute to calculate the Sum of The Child Table
I got the Sum using groovy syntax ChildTable.sum("Attribute")
It works Fine when Running the App module in JPR
I Created a JSF Page and Dropped the VO to the page as a stacked Bar Chart, Choosed The 3 Transient Attribute as Bars and one attribute as Axis,
when I run the Page , i got the following Error
| |||
Reviewing the bcs file, i found no errors and again it works fine when ruun it in Jpr
Someone Can Help me With That
Thanks
Hammam
Best Answer
-
Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,585 Red Diamond
Have you tried to open the file in a normal editor?
Sometimes such an editor adds some bytes to the file (UTF-8 bytes) which will then result in such an error.
Or try to move the code into the VO meta data.
Timo
Answers
-
Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,585 Red Diamond
Have you tried to open the file in a normal editor?
Sometimes such an editor adds some bytes to the file (UTF-8 bytes) which will then result in such an error.
Or try to move the code into the VO meta data.
Timo
-
HI,
Thanks Mr. Timo for your reply,
I opened the File in the notepad, I Saved and replaced the file using the unicode and ANSI , when opened it again in the Jdev editor i really found Some Extra Characters and a space between every character in the file , i replaced the code a gain in the notepad and run the application , but the same error still occur ,
I changed the transient attribute to use vo row implementation java file and it worked , but please for future use, can you advice how to move the Groovy code to the VO meta data?
Thanks for your help
Hammam
-
HI,
After Searching the Internet , I found that starting from version 12.2 , All Transient attributes Groovy Expressions will be saved in a separate bcs file to improve the Performance, When adding the code directly to the xml , the framework will ask to locate the bcs file, it's a problem with the Editor as you mentioned, but using an older version will Perform correctly,
Thank you