Page 1 of 1

oXygen 15.2: exception: "docking manager cannot be null."

Posted: Tue Feb 04, 2014 10:32 pm
by pcc482719
Since upgrading to version 15.2 I've started to notice this problem. I'm using Windows 7, 64 bit. When I double click on an .xpr file to launch oXygen I get the exception:

Cannot start <oXygen/> XML Editor.
Due to:java.lang.IllegalArgumentException
The docking manager cannot be null..
java.lang.IllegalArgumentException: The docking manager cannot be null.

The oXygen editor starts normally when I double click on its icon and then I can open the offending project fine.

Any thoughts about what might be causing this?

Thanks!

Peter

Re: oXygen 15.2: exception: "docking manager cannot be null.

Posted: Tue Feb 04, 2014 10:45 pm
by adrian
Hi,

We've recently received one other report describing the same problem, but so far we have not been able to reproduce it.

Does this happen with any .xpr file?
Could you please try with the sample.xpr project file from Oxygen/samples folder?
If you only have this problem with a specific .xpr file, could you please send us that .xpr file for analysis?
Please send it to support AT oxygenxml DOT com

Regards,
Adrian

Re: oXygen 15.2: exception: "docking manager cannot be null.

Posted: Wed Feb 05, 2014 3:54 am
by pcc482719
Thanks for your reply...

Yes, in fact I see the same problem with the samples.xpr file in the samples folder. In fact, it seems to happen on every XPR file I've tried. It's very consistent. As I said before, I can start oXygen from its main icon and then load projects fine, however.

Peter

Re: oXygen 15.2: exception: "docking manager cannot be null.

Posted: Wed Feb 05, 2014 4:33 am
by pcc482719
I made an important discovery. If I update the project file and oXygen rewrites it, the file will load fine afterward when I double click on it.

The only change that seems like it might be significant is that the 'version' attribute in the project element is updated to "15.2." In contrast I notice, for example, that even in the sample.xpr that comes with oXygen the 'version' attribute in the project element is only "13.2."

Re: oXygen 15.2: exception: "docking manager cannot be null.

Posted: Wed Feb 05, 2014 10:06 pm
by adrian
Hi,

Thank you for the feedback.
Can you please check in Options > Preferences, Perspectives Layout if there are any options enabled there other than Allow detaching editors?

v15.2 has a new option for remembering the view layout on a per project basis and most likely this option introduced this bug with older project files.
We're currently investigating the cause and we will provide a patch in the next maintenance release of v15.2.

Regarding the version attribute from the 'sample.xpr' file, that's not relevant in practice, it's just a means to keep track with what version of Oxygen was the project last changed.

Regards,
Adrian

Re: oXygen 15.2: exception: "docking manager cannot be null.

Posted: Thu Feb 06, 2014 9:01 pm
by pcc482719
On the "Perspectives Layout" panel I see

Select application layout: default
Allow detaching editors from main window: checked
View tab placement: Bottom
Editor tab placement: Top
Global Options: selected

So in other words nothing appears to be outside of defaults... at least I never changed any of these settings to my knowledge.

Re: oXygen 15.2: exception: "docking manager cannot be null.

Posted: Fri Feb 07, 2014 6:31 pm
by adrian
Hi,

If you are willing to help us investigate this problem, you could enable logging in Oxygen and send us the log.
To enable logging, copy the attached 'log4j.properties' file (found in this log4j.zip file) to the Oxygen installation directory and quit/restart Oxygen. Then reproduce the problem and close Oxygen. You will find a directory named 'oxygenLog' on your Desktop and inside it the generated log files (oxygen.log.*). Please zip those files and send them to support AT oxygenxml DOT com

Note that the logging/debug mode decreases the application performance severely. At the end of the procedure please do not forget to remove the file 'log4j.properties' from the Oxygen installation directory.

Regards,
Adrian

Re: oXygen 15.2: exception: "docking manager cannot be null.

Posted: Sat Feb 22, 2014 11:41 am
by benwem
I have the same problem with Oxygen 15.2 on Windows 7 32 bit.

Re: oXygen 15.2: exception: "docking manager cannot be null.

Posted: Tue Feb 25, 2014 5:15 pm
by adrian
Hi,

We have patched this problem in the current development stream. The bugfix will be available in a maintenance build of v15.2. We will notify this thread when it becomes available.

Regards,
Adrian

Re: oXygen 15.2: exception: "docking manager cannot be null.

Posted: Thu Mar 06, 2014 12:40 am
by ionela
Hi,

This problem has been resolved in the latest maintenance build of Oxygen 15.2, 2014022718 (released on March 4th):
Project: Fixed a 'java.lang.IllegalArgumentException: The docking manager cannot be null.' error that would sometimes occur when switching the project.
You can download it from our web site:
http://www.oxygenxml.com/download.html

The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2014022718

You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml

Regards,
Ionela