Issue Details (XML | Word | Printable)

Key: SCAFF-232
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: David Peterson
Reporter: Roberto Lima
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Confluence Extension: Scaffolding Plugin

Error on save a space template

Created: 24/Jun/08 09:45 PM   Updated: 12/Sep/08 07:21 AM
Component/s: Scaffold Data Supplier
Affects Version/s: 2.7-dr9
Fix Version/s: 3.0.1

Time Tracking:
Not Specified

File Attachments: 1. Zip Archive atlassian-confluence.zip (392 kB)
2. PDF File ConfluenceAdministrationSystemInformation.pdf (92 kB)
3. PDF File ConfluenceAdministrationSystemInformation.pdf (92 kB)
4. Text File SaveTemplateError.txt (18 kB)
5. Text File TemplateExample.txt (1.0 kB)

Image Attachments:

1. ErroScaff-232.JPG
(19 kB)
Environment:
Server Application : Windows Server 2003
Client: Windows XP Professional
Database: MS-SQL Server 2005
Application Server: Tomcat 5.5.x


 Description  « Hide
We are with the following error:
While trying to save a space template, the error is occurring in the annex.

We realize that the change is recorded, but always after editing of a template space the attached error occurs.

Can you help us?



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
David Peterson added a comment - 25/Jun/08 12:35 AM
Hi there,

Other than the choice of database server, the rest looks pretty standard. There are some configuration requirements for SQL Server, but I'll assume for the moment that those have been followed.

That being the case, I will need the full stack trace from the web server logs to be of more assistance. Unfortunately, the 'UnexpectedRollbackException' is about as helpful as a 'General Protection Fault' in Windows, but it's all that gets displayed to the user if there's an error. To get the full log, you may have to turn on logging and restart Confluence, then replicate the error.

To turn on logging, do this:

1. Find "<your confluence server>/confluence/WEB-INF/classes/log4j.properties"
2. Edit the file, and look for the lines relating to 'atlassian-confluence.log'
3. Remove the '#' markers in front of them if they are present.
4. Save, and restart Confluence.

Let us know what you find.


Roberto Lima added a comment - 26/Jun/08 04:40 AM
Ok David,

Confluence log attached: atlassian-confluence.zip

Resgards,
Roberto


David Peterson added a comment - 26/Jun/08 04:49 AM
Ok, it looks like the root cause is a StackOverflowError. The usual cause is that there is some recursive markup somewhere in the system. My guess would be that somewhere in a {text-data} field is some wiki markup which ends up re-executing the current page, which loops through again, and again, and again, until the system runs out of memory. Is there any markup like that around on the page you're having problems with?

Roberto Lima added a comment - 26/Jun/08 02:32 PM
Dear David,

We tested each line of code template that we try to save and identify row below that is generating the error. Any ideas?

Descrição: {excerpt-data:Descrição:|type=area|required=true|width=500px|height=100px}

Best regards,
Roberto


David Peterson added a comment - 26/Jun/08 03:00 PM
The problem is probably what is stored in the field, not the field itself. Although, having a ':' in a field name is very unusual. I don't think it would cause problems, but it's possible I guess...

What is the current value of the 'Descrição:' field?


Roberto Lima added a comment - 26/Jun/08 03:11 PM

Well, this field has no value because it is a template. We are trying to save a template. (Browse Space> Edit Template)

Excluding the ":" of the field, the error still exists but in another format (see attached file: ErroScaff-232.jpg )


David Peterson added a comment - 26/Jun/08 04:35 PM
Very odd. I've assigned it to the next version so that we will investigate it before the next release. Unfortunately, it won't be immediately - we have some other projects that need to clear the pipeline first. I'll keep you posted here. In the meantime, perhaps you could use {text-data} until the issue is resolved.

Roberto Lima added a comment - 26/Jun/08 05:19 PM
Ok David,

Thanks,
Roberto


David Peterson added a comment - 29/Aug/08 03:45 AM
Hi Roberto,

Sorry, we ran out of time to investigate this issue for 3.0.0. I've assigned it to be examined in the next release.

David


David Peterson added a comment - 12/Sep/08 07:21 AM
Hi there. I'm unable to replicate this issue in 3.0.0 or 3.0.1. Could you please confirm, and if there are still problems, re-open this issue.