Problem with Dockingdesktop. Exceptionininitializererror

37 views
Skip to first unread message

omniteo790 omniteo790

unread,
May 27, 2013, 9:30:18 AM5/27/13
to vldo...@googlegroups.com
In version 3.0.1 I get the errore described in the comment at the bottom of the page

http://code.google.com/p/vldocking/wiki/tutorial1page2


Did you have any idea?

Lilian Chamontin

unread,
May 27, 2013, 10:02:57 AM5/27/13
to vldo...@googlegroups.com
Hi,

There's some code at the end of the frame constructor that should be removed :

getContentPane().add(editorPanel, BorderLayout?.CENTER);
getContentPane().add(treePanel, BorderLayout?.WEST);
getContentPane().add(buttonGrid, BorderLayout?.NORTH);
getContentPane().add(tablePanel, BorderLayout?.EAST);

This is from the version without docking (page 1 of the tutorial). and it is conflicting with desk.add() and desk.split() methods.

Otherwise, I've been able to test the jar file, and it worked fine for me. Can you try again after removing the code ?

Regards,

Lilian

omniteo790 omniteo790

unread,
May 27, 2013, 10:50:49 AM5/27/13
to vldo...@googlegroups.com
I have the same problem if I create only the Dockingdesktop object without nothing else.

DockingDesktop desk = new DockingDesktop();

The constructor throw the exception

Lilian Chamontin

unread,
May 27, 2013, 11:01:59 AM5/27/13
to vldo...@googlegroups.com
Well, looking at the stacktrace I can't see why the classloader wouldn't find the requested image, as it's in the jar file (at least on its latest SVN revision).

Can you verify that the requested image at :com.vldocking.swing.docking.ui.DockingUISettings.installIcons(DockingUISettings.java:335 is indeed inside the vldocking jar ?    

Regards,

Lilian

Andrew Carlson

unread,
May 27, 2013, 4:00:30 PM5/27/13
to vldo...@googlegroups.com
Be sure to redownload the latest 3.0.1 build, I had originally pushed a broken version where all the assets were moved to a new location.

Please redownload and try again.

Tudor Petrescu

unread,
Jun 24, 2013, 3:57:18 PM6/24/13
to vldo...@googlegroups.com
I've downloaded the latest build, and am also getting this error:


Exception in thread "main" java.lang.NullPointerException
    at javax.swing.ImageIcon.<init>(ImageIcon.java:205)
    at com.vldocking.swing.docking.ui.DockingUISettings.installIcons(DockingUISettings.java:335)
    at com.vldocking.swing.docking.ui.DockingUISettings.installUI(DockingUISettings.java:197)

Any help would be greatly appreciated.

Andrew Carlson

unread,
Jun 28, 2013, 2:04:15 PM6/28/13
to vldo...@googlegroups.com
Interesting, I was able to replicate your issues with the latest download but not on my development version.

I am working on a solution and will update you when I have something.

Andrew Carlson

unread,
Jun 30, 2013, 1:17:16 PM6/30/13
to vldo...@googlegroups.com
This issue has been resolved, please download VLDocking 3.0.2 from the following link: https://code.google.com/p/vldocking/downloads/detail?name=vldocking-3.0.2.jar

Here is the issue in our tracker for historical purposes: https://vldocking.atlassian.net/browse/DOCK-1


On Monday, June 24, 2013 12:57:18 PM UTC-7, Tudor Petrescu wrote:
Reply all
Reply to author
Forward
0 new messages