Doru: It was reported several times. Look in this mailing list, the threads
with subject:
- ConfigurationOfSeaside 1.0.3 is available
- uft-8 MAFileModelHandler
- Pier-Setup change report (Pier 1 & 2)
Cheers
Mariano
On Sun, Mar 28, 2010 at 7:55 PM, Tudor Girba <tudor.girba(a)gmail.com> wrote:
Hi,
I get an error when starting Pier2. It seems to be due to ByteArray not
understanding isByteString.
How to reproduce:
- Get the latest Pier2 from hudson.lukas-renggli.ch
- Execute: PRDistribution new register
- Go to:
http://localhost:8080/pier
Any idea of what is wrong?
Cheers,
Doru
-----------------
VM: Mac OS - intel - 1058 - Squeak3.8.1 of '28 Aug 2006' [latest update:
#6747] Squeak VM 4.2.2b1
Image: PharoCore1.0rc3 [Latest update: #10515]
SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir /Users/girba/Desktop/pier2-1
Trusted Dir /foobar/tooBar/forSqueak/bogus
Untrusted Dir /Users/girba/Library/Preferences/Squeak/Internet/My Squeak
ByteArray(Object)>>doesNotUnderstand: #isByteString
Receiver: #[47 42 32 72 69 65 68 69 82 32 42 47 13 46 105 99 111 110
32 97 32 123 111 117 116 108 10...etc...
Arguments and temporary variables:
aMessage: isByteString
exception: MessageNotUnderstood:
ByteArray>>isByteString
resumeValue: nil
Receiver's instance variables:
#[47 42 32 72 69 65 68 69 82 32 42 47 13 46 105 99 111 110 32 97 32 123 111
117 116 108 10...etc...
GRPharoUtf8CodecStream>>nextPutAll:
Receiver: a GRPharoUtf8CodecStream
Arguments and temporary variables:
aString: #[47 42 32 72 69 65 68 69 82 32 42 47 13 46
105 99 111 110 32 97 32 12...etc...
Receiver's instance variables:
stream: a WriteStream ''
converter: an UTF8TextConverter
binary: false
WABufferedResponse(WAResponse)>>nextPutAll:
Receiver: a WABufferedResponse status: 200 message: 'OK'
Arguments and temporary variables:
aStringOrByteArray: #[47 42 32 72 69 65 68 69 82 32 42
47 13 46 105 99 111 110 ...etc...
Receiver's instance variables:
headers: a WAHeaderFields
cookies: an OrderedCollection()
status: 200
message: 'OK'
contentsStream: a GRPharoUtf8CodecStream
MAFileModelHandler>>handleFiltered:
Receiver: a MAFileModelHandler
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
response: a WABufferedResponse status: 200 message:
'OK'
mimeType: a WAMimeType(text/css)
Receiver's instance variables:
filter: a WAValueHolder contents: a
MAFileModelHandler
parent: a WAApplication
configuration: a WAUserConfiguration
model: a MAExternalFileModel
[] in MAFileModelHandler(WARequestHandler)>>handle:
Receiver: a MAFileModelHandler
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
Receiver's instance variables:
filter: a WAValueHolder contents: a
MAFileModelHandler
parent: a WAApplication
configuration: a WAUserConfiguration
model: a MAExternalFileModel
BlockClosure>>on:do:
Receiver: [closure] in MAFileModelHandler(WARequestHandler)>>handle:
Arguments and temporary variables:
exception: WACurrentRequestContext
handlerAction: [closure] in WACurrentRequestContext
class(WADynamicVariable cla...etc...
handlerActive: true
Receiver's instance variables:
outerContext:
MAFileModelHandler(WARequestHandler)>>handle:
startpc: 32
numArgs: 0
WACurrentRequestContext class(WADynamicVariable class)>>use:during:
Receiver: WACurrentRequestContext
Arguments and temporary variables:
anObject: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
aBlock: [closure] in
MAFileModelHandler(WARequestHandler)>>handle:
Receiver's instance variables:
superclass: WADynamicVariable
methodDict: a MethodDictionary()
format: 140
instanceVariables: nil
organization: ('as yet unclassified')
subclasses: nil
name: #WACurrentRequestContext
classPool: nil
sharedPools: nil
environment: Smalltalk
category: #'Seaside-Core-RequestHandling'
traitComposition: {}
localSelectors: nil
[] in WARequestContext>>push:while:
Receiver: a WARequestContext url: '/pier?_s=uYjuOEMpjSerCpLd'
Arguments and temporary variables:
aBlock: [closure] in
MAFileModelHandler(WARequestHandler)>>handle:
Receiver's instance variables:
handlers: an OrderedCollection(a MAFileModelHandler a
WAApplication a WADispatc...etc...
request: a WARequest method: GET uri:
/pier?_s=uYjuOEMpjSerCpLd version: HTTP/1...etc...
response: a WABufferedResponse status: 200 message:
'OK'
codec: a GRPharoUtf8Codec name: 'utf-8'
consumer: a WAPathConsumer
properties: nil
BlockClosure>>ensure:
Receiver: [closure] in WARequestContext>>push:while:
Arguments and temporary variables:
aBlock: [closure] in WARequestContext>>push:while:
returnValue: nil
b: nil
Receiver's instance variables:
outerContext: WARequestContext>>push:while:
startpc: 42
numArgs: 0
WARequestContext>>push:while:
Receiver: a WARequestContext url: '/pier?_s=uYjuOEMpjSerCpLd'
Arguments and temporary variables:
aRequestHandler: a MAFileModelHandler
aBlock: [closure] in
MAFileModelHandler(WARequestHandler)>>handle:
Receiver's instance variables:
handlers: an OrderedCollection(a MAFileModelHandler a
WAApplication a WADispatc...etc...
request: a WARequest method: GET uri:
/pier?_s=uYjuOEMpjSerCpLd version: HTTP/1...etc...
response: a WABufferedResponse status: 200 message:
'OK'
codec: a GRPharoUtf8Codec name: 'utf-8'
consumer: a WAPathConsumer
properties: nil
MAFileModelHandler(WARequestHandler)>>handle:
Receiver: a MAFileModelHandler
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
Receiver's instance variables:
filter: a WAValueHolder contents: a
MAFileModelHandler
parent: a WAApplication
configuration: a WAUserConfiguration
model: a MAExternalFileModel
WAApplication(WARegistry)>>dispatch:to:
Receiver: a WAApplication
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
aRequestHandler: a MAFileModelHandler
Receiver's instance variables:
filter: a WAValueHolder contents: a
WAExceptionFilter
parent: a WADispatcher
configuration: a WAUserConfiguration
cache: a WACache
WAApplication(WARegistry)>>handleKeyed:with:
Receiver: a WAApplication
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
aRequestHandler: a MAFileModelHandler
Receiver's instance variables:
filter: a WAValueHolder contents: a
WAExceptionFilter
parent: a WADispatcher
configuration: a WAUserConfiguration
cache: a WACache
WAApplication(WARegistry)>>handleFiltered:
Receiver: a WAApplication
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
cookie: nil
key: 'uYjuOEMpjSerCpLd'
handler: a MAFileModelHandler
urlKey: 'uYjuOEMpjSerCpLd'
Receiver's instance variables:
filter: a WAValueHolder contents: a
WAExceptionFilter
parent: a WADispatcher
configuration: a WAUserConfiguration
cache: a WACache
WAApplication>>handleFiltered:
Receiver: a WAApplication
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
Receiver's instance variables:
filter: a WAValueHolder contents: a
WAExceptionFilter
parent: a WADispatcher
configuration: a WAUserConfiguration
cache: a WACache
WAExceptionFilter(WARequestFilter)>>handleFiltered:
Receiver: a WAExceptionFilter
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
Receiver's instance variables:
next: a WAValueHolder contents: a WAApplication
configuration: a WAUserConfiguration
[] in WAExceptionFilter>>handleFiltered:
Receiver: a WAExceptionFilter
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
Receiver's instance variables:
next: a WAValueHolder contents: a WAApplication
configuration: a WAUserConfiguration
BlockClosure>>on:do:
Receiver: [closure] in WAExceptionFilter>>handleFiltered:
Arguments and temporary variables:
exception: a WAWalkbackErrorHandler
handlerAction: [closure] in
WAWalkbackErrorHandler(WAExceptionHandler)>>handleE...etc...
handlerActive: false
Receiver's instance variables:
outerContext: WAExceptionFilter>>handleFiltered:
startpc: 32
numArgs: 0
WAWalkbackErrorHandler(WAExceptionHandler)>>handleExceptionsDuring:
Receiver: a WAWalkbackErrorHandler
Arguments and temporary variables:
aBlock: [closure] in
WAExceptionFilter>>handleFiltered:
Receiver's instance variables:
requestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
WAWalkbackErrorHandler class(WAExceptionHandler
class)>>handleExceptionsDuring:context:
Receiver: WAWalkbackErrorHandler
Arguments and temporary variables:
aBlock: [closure] in
WAExceptionFilter>>handleFiltered:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
Receiver's instance variables:
superclass: WADebugErrorHandler
methodDict: a MethodDictionary(#open:->a
CompiledMethod(1906: WAWalkbackErrorHa...etc...
format: 132
instanceVariables: nil
organization: ('private' open:)
subclasses: nil
name: #WAWalkbackErrorHandler
classPool: nil
sharedPools: nil
environment: Smalltalk
category: #'Seaside-Development-Core'
traitComposition: {}
localSelectors: nil
WAExceptionFilter>>handleFiltered:
Receiver: a WAExceptionFilter
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
Receiver's instance variables:
next: a WAValueHolder contents: a WAApplication
configuration: a WAUserConfiguration
[] in WAApplication(WARequestHandler)>>handle:
Receiver: a WAApplication
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
Receiver's instance variables:
filter: a WAValueHolder contents: a
WAExceptionFilter
parent: a WADispatcher
configuration: a WAUserConfiguration
cache: a WACache
BlockClosure>>on:do:
Receiver: [closure] in WAApplication(WARequestHandler)>>handle:
Arguments and temporary variables:
exception: WACurrentRequestContext
handlerAction: [closure] in WACurrentRequestContext
class(WADynamicVariable cla...etc...
handlerActive: true
Receiver's instance variables:
outerContext: WAApplication(WARequestHandler)>>handle:
startpc: 32
numArgs: 0
WACurrentRequestContext class(WADynamicVariable class)>>use:during:
Receiver: WACurrentRequestContext
Arguments and temporary variables:
anObject: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
aBlock: [closure] in
WAApplication(WARequestHandler)>>handle:
Receiver's instance variables:
superclass: WADynamicVariable
methodDict: a MethodDictionary()
format: 140
instanceVariables: nil
organization: ('as yet unclassified')
subclasses: nil
name: #WACurrentRequestContext
classPool: nil
sharedPools: nil
environment: Smalltalk
category: #'Seaside-Core-RequestHandling'
traitComposition: {}
localSelectors: nil
[] in WARequestContext>>push:while:
Receiver: a WARequestContext url: '/pier?_s=uYjuOEMpjSerCpLd'
Arguments and temporary variables:
aBlock: [closure] in
WAApplication(WARequestHandler)>>handle:
Receiver's instance variables:
handlers: an OrderedCollection(a MAFileModelHandler a
WAApplication a WADispatc...etc...
request: a WARequest method: GET uri:
/pier?_s=uYjuOEMpjSerCpLd version: HTTP/1...etc...
response: a WABufferedResponse status: 200 message:
'OK'
codec: a GRPharoUtf8Codec name: 'utf-8'
consumer: a WAPathConsumer
properties: nil
BlockClosure>>ensure:
Receiver: [closure] in WARequestContext>>push:while:
Arguments and temporary variables:
aBlock: [closure] in WARequestContext>>push:while:
returnValue: nil
b: nil
Receiver's instance variables:
outerContext: WARequestContext>>push:while:
startpc: 42
numArgs: 0
WARequestContext>>push:while:
Receiver: a WARequestContext url: '/pier?_s=uYjuOEMpjSerCpLd'
Arguments and temporary variables:
aRequestHandler: a WAApplication
aBlock: [closure] in
WAApplication(WARequestHandler)>>handle:
Receiver's instance variables:
handlers: an OrderedCollection(a MAFileModelHandler a
WAApplication a WADispatc...etc...
request: a WARequest method: GET uri:
/pier?_s=uYjuOEMpjSerCpLd version: HTTP/1...etc...
response: a WABufferedResponse status: 200 message:
'OK'
codec: a GRPharoUtf8Codec name: 'utf-8'
consumer: a WAPathConsumer
properties: nil
WAApplication(WARequestHandler)>>handle:
Receiver: a WAApplication
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
Receiver's instance variables:
filter: a WAValueHolder contents: a
WAExceptionFilter
parent: a WADispatcher
configuration: a WAUserConfiguration
cache: a WACache
WADispatcher>>handleFiltered:named:
Receiver: a WADispatcher
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
aString: 'pier'
Receiver's instance variables:
filter: a WAValueHolder contents: a WADispatcher
parent: nil
configuration: a WAUserConfiguration
defaultName: 'browse'
handlers: a Dictionary('browse'->a WAApplication
'comet'->a WADispatcher 'confi...etc...
WADispatcher>>handleFiltered:
Receiver: a WADispatcher
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
handlerName: 'pier'
consumer: a WAPathConsumer
Receiver's instance variables:
filter: a WAValueHolder contents: a WADispatcher
parent: nil
configuration: a WAUserConfiguration
defaultName: 'browse'
handlers: a Dictionary('browse'->a WAApplication
'comet'->a WADispatcher 'confi...etc...
[] in WADispatcher(WARequestHandler)>>handle:
Receiver: a WADispatcher
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
Receiver's instance variables:
filter: a WAValueHolder contents: a WADispatcher
parent: nil
configuration: a WAUserConfiguration
defaultName: 'browse'
handlers: a Dictionary('browse'->a WAApplication
'comet'->a WADispatcher 'confi...etc...
BlockClosure>>on:do:
Receiver: [closure] in WADispatcher(WARequestHandler)>>handle:
Arguments and temporary variables:
exception: WACurrentRequestContext
handlerAction: [closure] in WACurrentRequestContext
class(WADynamicVariable cla...etc...
handlerActive: true
Receiver's instance variables:
outerContext: WADispatcher(WARequestHandler)>>handle:
startpc: 32
numArgs: 0
WACurrentRequestContext class(WADynamicVariable class)>>use:during:
Receiver: WACurrentRequestContext
Arguments and temporary variables:
anObject: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
aBlock: [closure] in
WADispatcher(WARequestHandler)>>handle:
Receiver's instance variables:
superclass: WADynamicVariable
methodDict: a MethodDictionary()
format: 140
instanceVariables: nil
organization: ('as yet unclassified')
subclasses: nil
name: #WACurrentRequestContext
classPool: nil
sharedPools: nil
environment: Smalltalk
category: #'Seaside-Core-RequestHandling'
traitComposition: {}
localSelectors: nil
[] in WARequestContext>>push:while:
Receiver: a WARequestContext url: '/pier?_s=uYjuOEMpjSerCpLd'
Arguments and temporary variables:
aBlock: [closure] in
WADispatcher(WARequestHandler)>>handle:
Receiver's instance variables:
handlers: an OrderedCollection(a MAFileModelHandler a
WAApplication a WADispatc...etc...
request: a WARequest method: GET uri:
/pier?_s=uYjuOEMpjSerCpLd version: HTTP/1...etc...
response: a WABufferedResponse status: 200 message:
'OK'
codec: a GRPharoUtf8Codec name: 'utf-8'
consumer: a WAPathConsumer
properties: nil
BlockClosure>>ensure:
Receiver: [closure] in WARequestContext>>push:while:
Arguments and temporary variables:
aBlock: [closure] in WARequestContext>>push:while:
returnValue: nil
b: nil
Receiver's instance variables:
outerContext: WARequestContext>>push:while:
startpc: 42
numArgs: 0
WARequestContext>>push:while:
Receiver: a WARequestContext url: '/pier?_s=uYjuOEMpjSerCpLd'
Arguments and temporary variables:
aRequestHandler: a WADispatcher
aBlock: [closure] in
WADispatcher(WARequestHandler)>>handle:
Receiver's instance variables:
handlers: an OrderedCollection(a MAFileModelHandler a
WAApplication a WADispatc...etc...
request: a WARequest method: GET uri:
/pier?_s=uYjuOEMpjSerCpLd version: HTTP/1...etc...
response: a WABufferedResponse status: 200 message:
'OK'
codec: a GRPharoUtf8Codec name: 'utf-8'
consumer: a WAPathConsumer
properties: nil
WADispatcher(WARequestHandler)>>handle:
Receiver: a WADispatcher
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
Receiver's instance variables:
filter: a WAValueHolder contents: a WADispatcher
parent: nil
configuration: a WAUserConfiguration
defaultName: 'browse'
handlers: a Dictionary('browse'->a WAApplication
'comet'->a WADispatcher 'confi...etc...
[] in WAComancheAdaptor(WAServerAdaptor)>>handleRequest:
Receiver: a WAComancheAdaptor
Arguments and temporary variables:
aRequestContext: a WARequestContext url:
'/pier?_s=uYjuOEMpjSerCpLd'
Receiver's instance variables:
manager: a WAServerManager
port: 8080
requestHandler: nil
codec: a GRPharoUtf8Codec name: 'utf-8'
streamUploads: false
service: seaside-8080 [running] port: 8080
BlockClosure>>on:do:
Receiver: [closure] in
WAComancheAdaptor(WAServerAdaptor)>>handleRequest:
Arguments and temporary variables:
exception: WAResponseNotification
handlerAction: [closure] in
WAComancheAdaptor(WAServerAdaptor)>>handleRequest:
handlerActive: true
Receiver's instance variables:
outerContext:
WAComancheAdaptor(WAServerAdaptor)>>handleRequest:
startpc: 34
numArgs: 0
--- The full stack ---
ByteArray(Object)>>doesNotUnderstand: #isByteString
GRPharoUtf8CodecStream>>nextPutAll:
WABufferedResponse(WAResponse)>>nextPutAll:
MAFileModelHandler>>handleFiltered:
[] in MAFileModelHandler(WARequestHandler)>>handle:
BlockClosure>>on:do:
WACurrentRequestContext class(WADynamicVariable class)>>use:during:
[] in WARequestContext>>push:while:
BlockClosure>>ensure:
WARequestContext>>push:while:
MAFileModelHandler(WARequestHandler)>>handle:
WAApplication(WARegistry)>>dispatch:to:
WAApplication(WARegistry)>>handleKeyed:with:
WAApplication(WARegistry)>>handleFiltered:
WAApplication>>handleFiltered:
WAExceptionFilter(WARequestFilter)>>handleFiltered:
[] in WAExceptionFilter>>handleFiltered:
BlockClosure>>on:do:
WAWalkbackErrorHandler(WAExceptionHandler)>>handleExceptionsDuring:
WAWalkbackErrorHandler class(WAExceptionHandler
class)>>handleExceptionsDuring:context:
WAExceptionFilter>>handleFiltered:
[] in WAApplication(WARequestHandler)>>handle:
BlockClosure>>on:do:
WACurrentRequestContext class(WADynamicVariable class)>>use:during:
[] in WARequestContext>>push:while:
BlockClosure>>ensure:
WARequestContext>>push:while:
WAApplication(WARequestHandler)>>handle:
WADispatcher>>handleFiltered:named:
WADispatcher>>handleFiltered:
[] in WADispatcher(WARequestHandler)>>handle:
BlockClosure>>on:do:
WACurrentRequestContext class(WADynamicVariable class)>>use:during:
[] in WARequestContext>>push:while:
BlockClosure>>ensure:
WARequestContext>>push:while:
WADispatcher(WARequestHandler)>>handle:
[] in WAComancheAdaptor(WAServerAdaptor)>>handleRequest:
BlockClosure>>on:do:
- - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - -
WAComancheAdaptor(WAServerAdaptor)>>handleRequest:
WAComancheAdaptor(WAServerAdaptor)>>handle:
[] in WAComancheAdaptor(WAServerAdaptor)>>process:
BlockClosure>>ensure:
WAComancheAdaptor(WAServerAdaptor)>>process:
WAComancheAdaptor>>processHttpRequest:
HttpService>>processHttpRequest:
[] in HttpAdaptor>>dispatchRequest:
BlockClosure>>on:do:
HttpService>>handleDispatchErrorsIn:
HttpAdaptor>>dispatchRequest:
[] in [] in HttpAdaptor>>beginConversation
BlockClosure>>on:do:
BlockClosure>>valueWithBindingsContext:
BlockClosure>>valueWithBindings:
BindingsAccessor>>clamp:
[] in HttpAdaptor>>beginConversation
BlockClosure>>ensure:
HttpAdaptor>>beginConversation
HttpAdaptor class>>readAndWriteTo:service:
HttpAdaptor class>>readAndWriteToSocket:service:
HttpService>>serve:
[] in HttpService(TcpService)>>value:
BlockClosure>>on:do:
BlockClosure>>valueWithBindingsContext:
BlockClosure>>valueWithBindings:
BindingsAccessor>>clamp:
[] in BlockClosure>>newProcessWithClampedBindings:
BlockClosure>>on:do:
BlockClosure>>valueWithBindingsContext:
BlockClosure>>valueWithBindings:
[] in BlockClosure>>newProcessWithBindings:
[] in BlockClosure>>newProcess
--
www.tudorgirba.com
"Relationships are of two kinds: those we choose and those that happen.
They both matter."
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki