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

Having trouble installing Oxygen? Got a bug to report? Post it all here.
pcc482719
Posts: 9
Joined: Mon Dec 06, 2010 5:47 pm
Location: Vermont, USA
Contact:

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

Post 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
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
pcc482719
Posts: 9
Joined: Mon Dec 06, 2010 5:47 pm
Location: Vermont, USA
Contact:

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

Post 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
pcc482719
Posts: 9
Joined: Mon Dec 06, 2010 5:47 pm
Location: Vermont, USA
Contact:

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

Post 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."
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
pcc482719
Posts: 9
Joined: Mon Dec 06, 2010 5:47 pm
Location: Vermont, USA
Contact:

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

Post 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.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
benwem
Posts: 4
Joined: Fri Sep 25, 2009 5:16 pm

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

Post by benwem »

I have the same problem with Oxygen 15.2 on Windows 7 32 bit.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
ionela
Posts: 407
Joined: Mon Dec 05, 2011 6:08 pm

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

Post 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
Ionela Istodor
oXygen XML Editor and Author Support
Post Reply