Skip to content

problem while building the initial screen #3013

Description

@ddyer0

This error (and others like it) occurs occasionally when assembling the initial screen
as the app is launched. The relevant point in the backtrace is the .add(..)
operation, which ought not fail.

error is : java.lang.IllegalStateException: This method should not be invoked by external code!
[launcher] 0:0:0,0 - Exception: java.lang.IllegalStateException - This method should not be invoked by external code!
java.lang.IllegalStateException: This method should not be invoked by external code!
at com.codename1.ui.util.EventDispatcher$CallbackClass.run(EventDispatcher.java:85)
at com.codename1.ui.Display.callSerially(Display.java:845)
at com.codename1.ui.util.EventDispatcher.fireSelectionEvent(EventDispatcher.java:409)
at com.codename1.ui.list.DefaultListModel.setSelectedIndex(DefaultListModel.java:198)
at com.codename1.ui.List.initComponentImpl(List.java:329)
at com.codename1.ui.Container.initComponentImpl(Container.java:1132)
at com.codename1.ui.Container.initComponentImpl(Container.java:1132)
at com.codename1.ui.Container.initComponentImpl(Container.java:1132)
at com.codename1.ui.Container.insertComponentAtImpl(Container.java:853)
at com.codename1.ui.Container.insertComponentAt(Container.java:817)
at com.codename1.ui.Container.addComponent(Container.java:739)
at com.codename1.ui.Container.add(Container.java:358)
at bridge.Container.supadd(Unknown Source)
at bridge.Container.access$000(Unknown Source)
at bridge.Container$1.run(Unknown Source)
at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:95)
at com.codename1.ui.Display.callSerially(Display.java:845)
at com.codename1.ui.Display.callSeriallyAndWait(Display.java:934)
at bridge.Platform.runInEdt(Unknown Source)
at bridge.Container.add(Unknown Source)
at bridge.Frame.setContentPane(Unknown Source)
at util.PasswordCollector.createAndShowGUI(Unknown Source)
at util.Login.initFromWebStart(Unknown Source)
at util.JWSApplication.runLogin(Unknown Source)
at util.JWSApplication.runMain(Unknown Source)
at util.JWSApplication.runLobby(Unknown Source)
at com.boardspace.BoardspaceLauncher.launchLobby(Unknown Source)
at com.boardspace.BoardspaceLauncher.doit(Unknown Source)
at com.boardspace.BoardspaceLauncher.run(Unknown Source)
at java.lang.Thread.run(Thread.java:761)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions