This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Pages: 1 - Last Post: 17-Sep-2020 15:55 Last Post By: davidekholm
AndreWolff

Posts: 1,770
Registered: 14-Dec-2007
IllegalArgumentException: component and container should be in the same top
Posted: 16-Sep-2020 16:10
 
  Click to reply to this thread Reply
Sometimes I see in the systemconsole the error log showed below.

The resulting album shows no problems, so why do I see this message sometimes?
Skin loading: 2.776s
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: component and container should be in the same top-level window
	at java.desktop/java.awt.Container.checkAdding(Unknown Source)
	at java.desktop/java.awt.Container.setComponentZOrder(Unknown Source)
	at se.datadosen.explorer.JExplorerPanel.handleJAlbumObjectDrop(JExplorerPanel.java:842)
	at se.datadosen.explorer.JExplorerPanel.drop(JExplorerPanel.java:678)
	at java.desktop/java.awt.dnd.DropTarget.drop(Unknown Source)
	at java.desktop/sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
	at java.desktop/sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
	at java.desktop/sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Make changes
Make album: 22.886s
Make changes
Make album: 12.427s
davidekholm

Posts: 3,241
Registered: 18-Oct-2002
Re: IllegalArgumentException: component and container should be in the same top
Posted: 17-Sep-2020 13:30   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
Are you perhaps dragging and dropping between two instances of jAlbum?
AndreWolff

Posts: 1,770
Registered: 14-Dec-2007
Re: IllegalArgumentException: component and container should be in the same top
Posted: 17-Sep-2020 15:01   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
davidekholm wrote:
Are you perhaps dragging and dropping between two instances of jAlbum?
No I don’t think so. I think the message was displayed after opening an album, but I am not absolutely sure.
davidekholm

Posts: 3,241
Registered: 18-Oct-2002
Re: IllegalArgumentException: component and container should be in the same top
Posted: 17-Sep-2020 15:55   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
See if you can reproduce it at will.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums