Hi,

Am trying to integrate the RAD Chatroom in my existing (Non-MVC)
application. However, I get this error when I try to run the code below :


java.lang.VerifyError: class com.codename1.rad.ui.chatroom.ChatRoomView
overrides final method com.codename1.rad.ui.AbstractEntityView.bind()V
at java.base/java.lang.ClassLoader.defineClass1(Native Method)

My code:


public class RChatRoom extends Form {

    public RChatRoom() {
        setLayout(new BorderLayout());

        ChatRoomView.ViewModel room = new ChatRoomView.ViewModel();

        ChatBubbleView.ViewModel message = new ChatBubbleView.ViewModel();
        message.messageText("Hello World");
        room.addMessages(message);

        ChatRoomView view = new ChatRoomView(room, this);
        add(BorderLayout.CENTER, view);
    }
}


I am using Oracle JDK12 on Netbeans 12.2

What could be the issue ?

Thanks
-- 
/dww

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAK9Ws2cr3YENDz6BiBDTu%2B%2B884f1a8DJXxfuRWk914-wHNWO3A%40mail.gmail.com.

Reply via email to