Thanks, we'll check. On Friday, January 15, 2021 at 11:11:05 PM UTC+2 davidwaf wrote:
> Ok I got this to work. Manually replacing the cnlibs downloaded via the > Plugin with these https://github.com/shannah/RADChatRoom/tree/master/bin > did it. > It looks like the CN1plugin is still using 'older' versions? > > /dww > > On Fri, Jan 15, 2021 at 10:04 PM David Wafula <[email protected]> wrote: > >> 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 >> > > > -- > David W > -- 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/37f1385c-88c6-4faf-9627-ce4387445c4fn%40googlegroups.com.
