[Bug 59733] shiftRows() causes org.apache.xmlbeans.impl.values.XmlValueDisconnectedException

2020-10-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59733

Dominik Stadler  changed:

   What|Removed |Added

 Blocks||58221

--- Comment #10 from Dominik Stadler  ---
The related test-case was fixed as part of bug #64516, so hopefully this
problem is now resolved in nightly builds, although there remain some more
issues with shifting/cloning...


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=58221
[Bug 58221] Shifting rows while trying to sort causes
XmlValueDisconnectedException
-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 59733] shiftRows() causes org.apache.xmlbeans.impl.values.XmlValueDisconnectedException

2020-10-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59733

Dominik Stadler  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #9 from Dominik Stadler  ---
The related test-case was fixed as part of bug #64516, so hopefully this
problem is now resolved in nightly builds, although there remain some more
issues with shifting/cloning...

*** This bug has been marked as a duplicate of bug 64516 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 59733] shiftRows() causes org.apache.xmlbeans.impl.values.XmlValueDisconnectedException

2016-07-16 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59733

--- Comment #7 from Dominik Stadler  ---
In r1752996 I have narrowed down the testcase slightly, after the first
shifting, only removing row 0 and then trying to access row 1 causes the
exception.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 59733] shiftRows() causes org.apache.xmlbeans.impl.values.XmlValueDisconnectedException

2016-06-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59733

Dattathreya  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 59733] shiftRows() causes org.apache.xmlbeans.impl.values.XmlValueDisconnectedException

2016-06-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59733

--- Comment #6 from Dattathreya  ---
Is there any temporary workarounds available for this problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 59733] shiftRows() causes org.apache.xmlbeans.impl.values.XmlValueDisconnectedException

2016-06-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59733

--- Comment #5 from Javen O'Neal  ---
(In reply to Dattathreya from comment #4)
> Will it be fixed in 3.15?
It depends on if someone contributes a patch that fixes the bug. Those who are
not affected by the bug are less likely to spend time fixing the bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 59733] shiftRows() causes org.apache.xmlbeans.impl.values.XmlValueDisconnectedException

2016-06-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59733

--- Comment #4 from Dattathreya  ---
Will it be fixed in 3.15?

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 59733] shiftRows() causes org.apache.xmlbeans.impl.values.XmlValueDisconnectedException

2016-06-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59733

--- Comment #3 from Javen O'Neal  ---
I simplified this to creating empty rows, and the exception was still thrown by
the second shiftRows call. r1749300.
This isolates the problem to the CTRows causing the disconnected XML value.

Workbook workbook = new XSSFWorkbook();
Sheet sheet = workbook.createSheet();
for (int r=0; r<=4; r++) {
sheet.createRow(r);
}

// Shift the 2nd row on top of the 0th row
sheet.shiftRows(2, 2, -2);
sheet.shiftRows(3, 3, -3);

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 59733] shiftRows() causes org.apache.xmlbeans.impl.values.XmlValueDisconnectedException

2016-06-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59733

--- Comment #2 from Dominik Stadler  ---
Probably a duplicate of bug 58221

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 59733] shiftRows() causes org.apache.xmlbeans.impl.values.XmlValueDisconnectedException

2016-06-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59733

Javen O'Neal  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #1 from Javen O'Neal  ---
Verified this affects the current trunk (pre-3.15-beta2). Added a disabled unit
test in r1749295.

XmlValueDisconnectedExceptions occur because the links between nodes in the DOM
(XML tree) are broken. This can happen when a node is freed by one node but
still weakly linked to by another node. This only causes problems when the
second node tries to traverse the broken link.

-- 
You are receiving this mail because:
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org