Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Runtime class error - Ljava/beans/PropertyChangeSupport

Bijesh KrishnadasJul 19 2015 — edited Jul 22 2015

Hi All,

I am trying out MAF in JDeveloper 12.1.3 with the latest MAF plugin. MAF JDK: 1.8.0_45 (64bit)

The app itself is very simple and shows a list of items (ItemEntity) that are fetched via a REST call. The getters and setters in the ItemEntity were created with the "Notify listeners when the property changes" option ticked.

After I deploy to my Android emulator and open up the app, I see an error returned on screen - "Ljava/beans/PropertyChangeSupport". Via the Android Monitor I see the following logged

07-20 10:10:06.028: I/System.out(3428): [SEVERE - oracle.adfmf.framework - adf.mf.internal - logError]

Request: "#{bindings.allItems.collectionModel.selectedRow}"

exception: {"errorCode":-1,".type":"oracle.adfmf.framework.exception.AdfInvocationRuntimeException"

              ,"message":"Ljava/beans/PropertyChangeSupport;",".exception":true

              ,"errorCategory":"BEAN","severity":"ERROR"}

Once I comment out all references to PropertyChangeSupport, my app runs fine.

Any ideas on what the issue could be?

I must mention that my initial MAF setup in JDeveloper was not smooth. Despite multiple uninstall/reinstalls, JDeveloper did not create the Java SE profile after I supplied the path to JDK 8. I had to manually create an entry named "MAF JDK 1.8 Compact 2 Profile" and also added the jars from extensions/oracle.maf/lib/

2015-07-20 10_31_41-Edit Java SE Definition.png

Comments
Post Details
Added on Jul 19 2015
1 comment
428 views