-
I built a simple XPage with some partial refreshes on it. Got it working pretty much how I wanted, so I put Save & Cancel buttons on it. Nothing special, just plain old ugly buttons. Load the XPage. Click Save …
-
This was apparently so severe that NSD never ran. It also left all the Domino processes in memory (except nhttp of course) but the console and all aspects of the server were utterly unresponsive. Had to kill them all the hard way.
-
Save is using “simple” actions, one to save the document and one to load the previous page, since my prior experience with XPages is a save doesn’t transition to anything, and loading the previous page seemed benign. There are no “Navigation Rules” or anything fancy anywhere, other than some other buttons that change visible table rows using partial refresh.
EDIT:
- It’s apparently the xp:saveDocument that’s doing it. I took out the xp:openPage that was going back one and it still crashes. Now, however, I get a NSD:
############################################################
FATAL THREAD 15/58 [ nHTTP: 1380: 12f0]
FP=0x0bdcce1c, PC=0x61cc99f0, SP=0x0bdccd7c
stkbase=0bdd0000, total stksize=262144, used stksize=12932
EAX=0x00000000, EBX=0x0a183530, ECX=0x00000000, EDX=0x0bdcd060
ESI=0x00000000, EDI=0x0bdcd0c4, CS=0x0000001b, SS=0x00000023
DS=0x00000023, ES=0x00000023, FS=0x0000003b, GS=0x00000000 Flags=0x00010212
Exception code: c0000005 (ACCESS_VIOLATION)
############################################################
@[ 1] 0x61cc99f0 nlsxbe.ANotes::ANGetClassID+0 (95b5d00,a183534,a183504,bdcce4c)
@[ 2] 0x61d524dd nlsxbe.ANotes::ANFormatJavaValue+189 (95b5d00,a183534,bdccfe4,bdccfec)
@[ 3] 0x61cf1a7a nlsxbe.Java_lotus_domino_local_Document_NreplaceItemValue@16+298 (95b5d00,a18353c,a183538,a183534)
############################################################
PASS 2 : FATAL THREAD with STACK FRAMES 15/58 [ nHTTP: 1380: 12f0]
FP=0bdcce1c, PC=61cc99f0, SP=0bdccd7c
stkbase=0bdd0000, total stksize=262144, used stksize=12932
Exception code: c0000005 (ACCESS_VIOLATION)
############################################################
Disassembly of c. 10 instructions before and after faulting address 61cc99f0:
61cc99e6 cc int 3
61cc99e7 cc int 3
61cc99e8 cc int 3
61cc99e9 cc int 3
61cc99ea cc int 3
61cc99eb cc int 3
61cc99ec cc int 3
61cc99ed cc int 3
61cc99ee cc int 3
61cc99ef cc int 3
FAULT ->61cc99f0 668b4114 mov ax,[ecx+0x14] ds:017ba80f=0000
61cc99f4 c3 ret
61cc99f5 cc int 3
61cc99f6 cc int 3
61cc99f7 cc int 3
61cc99f8 cc int 3
61cc99f9 cc int 3
61cc99fa cc int 3
61cc99fb cc int 3
61cc99fc cc int 3
61cc99fd cc int 3
61cc99fe cc int 3
…[piles of stack frames omitted]…
############################################################
PASS 3 : FATAL THREAD with PARAMETER DATA 15/58 [ nHTTP: 1380: 12f0]
############################################################
@[ 1] 0x61cc99f0 nlsxbe.ANotes::ANGetClassID+0 (95b5d00,a183534,a183504,bdcce4c)
Parameter 1:
095b5d00 F033F47F 48230A00 6035180A 00000000 | .3.. H#.. `5.. .... |
095b5d10 D034180A 06000000 40000000 18F4170A | .4.. .... @... .... |
Parameter 2:
0a183534 C8EBED11 3029D311 88E80A12 E8F30912 | .... 0).. .... .... |
0a183544 A078210A 089FC60E 8C35180A A078210A | .x!. .... .5.. .x!. |
Parameter 3:
0a183504 88FB0A10 88104C10 88104C10 D0870E0A | .... ..L. ..L. .... |
0a183514 10000020 0476E70F 70A50E09 02000000 | ... .v.. p... .... |
Parameter 4:
0bdcce4c 00000000 00004701 0000DC0B 0035180A | .... ..G. .... .5.. |
0bdcce5c 0435180A 00D0DC0B 7A1ACF61 005D5B09 | .5.. .... z..a .][. |
@[ 2] 0x61d524dd nlsxbe.ANotes::ANFormatJavaValue+189 (95b5d00,a183534,bdccfe4,bdccfec)
Parameter 1:
095b5d00 F033F47F 48230A00 6035180A 00000000 | .3.. H#.. `5.. .... |
095b5d10 D034180A 06000000 40000000 18F4170A | .4.. .... @... .... |
Parameter 2:
0a183534 C8EBED11 3029D311 88E80A12 E8F30912 | .... 0).. .... .... |
0a183544 A078210A 089FC60E 8C35180A A078210A | .x!. .... .5.. .x!. |
Parameter 3:
0bdccfe4 00000000 FCD0DC0B 00050E0A 7CCEDC0B | .... .... .... |... |
0bdccff4 40D1DC0B 31AEE061 03000000 FCD0DC0B | @... 1..a .... .... |
Parameter 4:
0bdccfec 00050E0A 7CCEDC0B 40D1DC0B 31AEE061 | .... |... @... 1..a |
0bdccffc 03000000 FCD0DC0B 0476E70F 005D5B09 | .... .... .v.. .][. |
@[ 3] 0x61cf1a7a nlsxbe.Java_lotus_domino_local_Document_NreplaceItemValue@16+298 (95b5d00,a18353c,a183538,a183534)
Parameter 1:
095b5d00 F033F47F 48230A00 6035180A 00000000 | .3.. H#.. `5.. .... |
095b5d10 D034180A 06000000 40000000 18F4170A | .4.. .... @... .... |
Parameter 2:
0a18353c 88E80A12 E8F30912 A078210A 089FC60E | .... .... .x!. .... |
0a18354c 8C35180A A078210A 88E80A12 C8EBED11 | .5.. .x!. .... .... |
Parameter 3:
0a183538 3029D311 88E80A12 E8F30912 A078210A | 0).. .... .... .x!. |
0a183548 089FC60E 8C35180A A078210A 88E80A12 | .... .5.. .x!. .... |
Parameter 4:
0a183534 C8EBED11 3029D311 88E80A12 E8F30912 | .... 0).. .... .... |
0a183544 A078210A 089FC60E 8C35180A A078210A | .x!. .... .5.. .x!. |
INFO (0): Generating core dump for [ nHTTP: 1380] (coreflags=0, exp=17bb6dc, dbgver=6.8.0004.0)
REEDIT:
- It’s because the XPage is pulling data from a parent document. It doesn’t matter if I do it postNewDocument, or if I do it in beforePageLoad, if I use lines like:
var parent:NotesDocument=null;
try {
if(sessionScope.tktID) parent=database.getDocumentByUNID(sessionScope.tktID);
if(parent && concur && concur.isNewNote()) {
concur.setValue("CorrSubject", parent.getItemValue("CorrSubject"));
concur.setValue("CorrFrom", parent.getItemValue("CorrFrom"));
concur.setValue("edCtrlNbr", parent.getItemValue("edCtrlNbr"));
concur.setValue("DueDate", parent.getItemValue("DueDate"));
concur.setValue("CorrConcur", parent.getItemValue("CorrConcur"));
} else {
print("! No Ticket to pull Concurrence data from !");
}
} catch(doh) {
print("! Concur.xsp "+doh.toString());
}
to pull data from a document, it crashes nhttp when I try to save.
- If I take the above lines out, so I have no data “inherited” from the document, then it works just fine. Sadly, I need to have the data on there.