More research on this, I've recreated this bug in the stock Portal Site
Manager that comes with the Jetspeed demo.  If you put a breakpoint at
like 235 in the CastorFileSystemDocumentHandler.java you'll (most of the
time) get a java.lang.ClassCastException: org.dom4j.DocumentFactory
upon stepping.



David Just l Software Engineer l Vision Solutions l +1 (507) 529-5939 l 
[email protected]
The contents of this e-mail (and any attachments) are privileged and 
confidential. Unauthorized use is strictly prohibited.
-----Original Message-----
From: David Just [mailto:[email protected]] 
Sent: Wednesday, August 26, 2009 7:49 AM
To: Jetspeed Users List
Subject: RE: How to programmatically define fragments/portlets /
prefrences for a new page

I've tried both and they both fail.  It randomly worked once while I was
debugging, and traced the problem down to line 235 in
CastorFileSystemDocumentHandler.java. The line 
XMLWriter xmlWriter = new XMLWriter(writer, this.format);

Is throwing an XML not ended properly exception.



David Just l Software Engineer l Vision Solutions l +1 (507) 529-5939 l
[email protected]
The contents of this e-mail (and any attachments) are privileged and
confidential. Unauthorized use is strictly prohibited.
-----Original Message-----
From: Randy Watler [mailto:[email protected]] 
Sent: Tuesday, August 25, 2009 5:52 PM
To: Jetspeed Users List
Subject: Re: How to programmatically define fragments/portlets /
prefrences for a new page

David,

Which invocation here is failing?

jsPageManager.updateFolder(newUserFolder);

or

jsPageManager.updateFolder(folder, true);

Randy


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to