Please see the attached minimal example and its error log.
\placepublications[criterium=all] triggers error in ConTeXt 2010.09.29.
It works fine in ConTeXt 2010.09.24.
Both the luatex versions are beta-0.63.0-2010091123.
@unpublished{test,
title={Test},
author={test},
journal={Test},
year=2010,
month=9,
day=29,
}
sorters > using sort sequence: mm mc uc
(test.tex
ConTeXt ver: 2010.09.29 15:00 MKIV fmt: 2010.9.29 int: english/english
system : cont-new loaded
(/home/qiuhw/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/home/qiuhw/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system : cont-fil loaded
(/home/qiuhw/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system : cont-sys.rme loaded
(/home/qiuhw/context/tex/texmf-context/tex/context/user/cont-sys.rme
(/home/qiuhw/context/tex/texmf-context/tex/context/base/type-def.mkiv)
(/home/qiuhw/context/tex/texmf-context/tex/context/base/type-lua.mkiv)
(/home/qiuhw/context/tex/texmf-context/tex/context/base/type-siz.mkiv)
(/home/qiuhw/context/tex/texmf-context/tex/context/base/type-otf.mkiv))
system : cont-err loaded
(/home/qiuhw/context/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
)
system : test.top loaded
%
% begin of optionfile
%
% % runtime options files (command line driven)
% \unprotect
% % feedback and basic job control
% % handy for special styles
% \startluacode
% document = document or { }
% document.arguments={
% }
% document.files={
%"test",
% }
% \stopluacode
% % process info
% \setupsystem[inputfile=test]
% \setupsystem[\c!n=1,\c!m=1]
% % modes
% % options (not that important)
% \startsetups *runtime:options
% \setupoutput[pdftex]
% \stopsetups
% % styles and modules
% \startsetups *runtime:modules
% \stopsetups
% % done
% \protect \endinput
%
% end of optionfile
%
(test.top)
fonts : preloading latin modern fonts
{/home/qiuhw/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/qiuhw/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/home/qiuhw/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}
bodyfont: 12pt rm is loaded
language: language en is active
publications: wrote a new auxiliary file cont-en.aux
publications: loading formatting style from bxml-apa
(/home/qiuhw/context/tex/texmf-context/tex/context/base/bxml-apa.mkiv)
systems : begin file test at line 3
! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-lst.lua:195: bad
argument #1 to 'gsub' (string expected, got nil)
stack traceback:
[C]: in function 'gsub'
...text/tex/texmf-context/tex/context/base/strc-lst.lua:195: in
function <...text/tex/texmf-context/tex/context/base/strc-lst.lua:192>
(tail call): ?
...text/tex/texmf-context/tex/context/base/strc-lst.lua:392: in
function 'analyze'
:1: in main chunk.
system > error on line 5 in file test.tex: LuaTeX error ...
1 \setupbibtex[database=test]
2
3 \starttext
4 \cite[test]
5 >> \placepublications[criterium=all]
6 \stoptext
\analyzestructurelist analyze("#1","#2","#3")}
\dodeterminelistcharacteristics ...ter \c!number }
\xdef \utilitylistlength {...
\initializepubslist
\dodoplacepublications ...ubs]\initializepubslist
\doifnot {\namedlistparame...
l.5 \placepublications[criterium=all]
? X
mkiv lua stats : used config file -
/home/qiuhw/context/tex/texmf/web2c/texmfcnf.lua
mkiv lua stats : used cache path -
/home/qiuhw/context/tex/texmf-cache/luatex-cache/context/3525c3c2a591596c39048524c75fec75
mkiv lua stats : input load time - 0.047 seconds
mkiv lua stats : stored bytecode data - 239 modules, 56 tables, 295 chunks
mkiv lua stats : cleaned up reserved nodes - 30 nodes, 9 lists of 411
mkiv lua stats : node memory usage - 1 hlist, 3 glue, 1 penalty, 10
glyph, 6 attribute, 20 glue_spec, 2 attribute_list, 1 temp, 1 local_par, 1 dir
mkiv lua stats : node list callback tasks - 6 unique task lists, 1 instances
(re)created, 281 calls
mkiv lua stats : used backend - pdf (backend for directly
generating pdf output)
mkiv lua stats : loaded patterns - en::2
mkiv lua stats : callbacks - direct: 369, indirect: 4462,
total: 4831
mkiv lua stats : result saved in file - test.pdf
mkiv lua stats : loaded fonts - 33 files: stmary10.afm
lmmono12-re