[Glass] ArgumentTypeError on fresh instalation

Benito Vitale benito_vitale at yahoo.com.ar
Fri Jun 6 07:12:28 PDT 2014


Dale,

I´ve checked and it´s returning an Array. I´ve tried initializing GRGemStonePlatform but it didn´t change it into a ExceptionSet. I´m running Grease 1.1.7, so I´ll try loading another version to see if that fixes it. 


Do you know which are the recommended versions for running Seaside3 with Pier3?

Thanks!

BTW here´s the output:

topaz 1> printit
GRPlatform current deprecationExceptionSet
%
a Array
topaz 1> printit
GRGemStonePlatform initialize
%
a metaGRGemStonePlatform
  superClass          a metaGRPlatform
  format              0
  instVarsInfo        1125899906846720
  instVarNames        a Array
  constraints         a Array
  classVars           a SymbolDictionary
  methDicts           a GsMethodDictionary
  poolDictionaries nil
  categorys           a GsMethodDictionary
  primaryCopy         nil
  name                GRGemStonePlatform
  classHistory        a ClassHistory
  transientMethDicts a Array
  destClass           nil
  timeStamp           a DateTime
  userId              DataCurator
  extraDict           a SymbolDictionary
  classCategory       Grease-GemStone-Core
  subclasses          nil
topaz 1>  printit
GRPlatform current deprecationExceptionSet
%
a Array
topaz 1>


--transcript--'Loading 3.1.1 of ConfigurationOfSeaside3...'
...
--transcript--'Project: Seaside3 baseline'
--transcript--'Project: Grease release1.1'
--transcript--' [1.1.7]'
--transcript--'redirecting to http://seaside.gemtalksystems.com/ss/MetacelloRepository/?C=M;O=D'
...
--transcript--'Project: Grease Core Tests release1.1'
--transcript--' [1.1.7]'
...
--transcript--'Project: Grease 1.0.7.2'
--transcript--' [1.1.7]'
...


Regards,
Benito




El día jueves, 5 de junio de 2014 15:30, Dale Henrichs <dale.henrichs at gemtalksystems.com> escribió:



Benito,

This must This seems to be a case where WADeprecatedToolFilter>>handleFiltered: is not getting the correct answer.

`GRPlatform current deprecationExceptionSet` should return an ExceptionSet and from your stack, it seems that it must be returning an Array. If so, I would guess that GRGemStonePlatform did not get initialized. 

First run:
  GRPlatform current deprecationExceptionSet

to verity that it is returning an Array. If it is then try:

  GRGemStonePlatform initialize

Otherwise we'll have to try something else..what version of Grease are you using?

Dale



On Thu, Jun 5, 2014 at 10:17 AM, Benito Vitale <benito_vitale at yahoo.com.ar> wrote:

Hi everybody!
>
>I've just installed GemStone 3.2.0, updated GLASS and installed Seaside 3.1.1. Also, I've configured nginx with one FastCGI adaptor.
>
>Now, when I load the welcome page works ok but whenever I click on a link I get:
>
>a ArgumentTypeError occurred (error 2094), reason:rtErrBadArgKind, for anArray  expected a ExceptionSet
>Your request could not be completed. An exception occurred. The system administrator has been informed of this error.
>
>The topaz process running the adaptor displays the following stack trace:
>
>----------- Continuation saved to object log ERROR Encountered: 2014-06-05T09:46:56.8870089054107-07:00
>a ArgumentTypeError occurred (error 2094), reason:rtErrBadArgKind, for anArray  expected a ExceptionSet
>1 GRGemStonePlatform >> logError:title:shouldCommit: @2 line 4  [GsNMethod 57072897]
>2 GRGemStonePlatform >> logError:title: @2 line 3  [GsNMethod 57073409]
>3 WAGemStoneProductionErrorHandler (WAErrorHandler) >> saveExceptionContinuation: @8 line 6  [GsNMethod 122021633]
>4 WAGemStoneProductionErrorHandler >> handleDefault: @2 line 3  [GsNMethod 125410561]
>5 WAGemStoneProductionErrorHandler (WAErrorHandler) >> handleError: @2 line 2  [GsNMethod 122022401]
>6 WAGemStoneProductionErrorHandler (WAErrorHandler) >> handleGemStoneException: @4 line 4  [GsNMethod 122021377]
>7 WAGemStoneProductionErrorHandler (WAHtmlHaltAndErrorHandler) >> handleException: @2 line 2  [GsNMethod 126901249]
>8 [] in  ExecBlock0 (WAExceptionHandler) >> handleExceptionsDuring: @2 line 5  [GsNMethod 144119809]
>9 ExecBlock0 (ExecBlock) >> on:do: @3 line 42  [GsNMethod 4237825]
>10 [] in  ExecBlock1 (WAExceptionHandler) >> handleExceptionsDuring: @2 line 8  [GsNMethod 133144321]
>11 [] in  ExecBlock1 (ExecBlock) >> on:do: @4 line 49  [GsNMethod 4238081]
>12 ArgumentTypeError (AbstractException) >> _executeHandler: @3 line 8  [GsNMethod 5012481]
>13 ArgumentTypeError (AbstractException) >> _signalWith: @1 line 1  [GsNMethod 5026817]
>14 ArgumentTypeError (AbstractException) >> signal @2 line 47  [GsNMethod 5035521]
>15 Array (Object) >> _error:args: @15 line 11  [GsNMethod 12100097]
>16 Array (Object) >> _errorExpectedClass: @2 line 5  [GsNMethod 3980289]
>17 Array (Object) >> _validateClass: @4 line 6  [GsNMethod 2142209]
>18 ExceptionSet >> , @20 line 22  [GsNMethod 6441729]
>19 ExceptionSet class >> with:with: @5 line 8  [GsNMethod 6442753]
>20 GRDeprecatedApiNotification class (AbstractException class) >> , @2 line 5  [GsNMethod 5072129]
>21 WADeprecatedToolFilter >> handleFiltered: @4 line 3  [GsNMethod 122804993]
>22 [] in  ExecBlock0 (WARequestHandler) >> handle: @3 line 4  [GsNMethod 138723073]
>23 ExecBlock0 (ExecBlock) >> on:do: @3 line 42  [GsNMethod 4237825]
>24 WACurrentRequestContext class (WADynamicVariable class) >> use:during: @2 line 4  [GsNMethod 124150017]
>25 [] in  ExecBlock0 (WARequestContext) >> push:during: @2 line 5  [GsNMethod 134081025]
>26 ExecBlock0 (ExecBlock) >> ensure: @2 line 12  [GsNMethod 4207873]
>27 WAGemStoneRequestContext (WARequestContext) >> push:during: @3 line 6  [GsNMethod 121897729]
>28 WASession (WARequestHandler) >> handle: @2 line 4  [GsNMethod 125516801]
>29 WASession >> handle: @10 line 11  [GsNMethod 125741569]
>30 WAApplication (WARegistry) >> dispatch:to:key: @4 line 6  [GsNMethod 124306689]
>31 WAApplication (WARegistry) >> handleKeyed:with:context: @2 line 5  [GsNMethod 124306945]
>32 WAApplication (WARegistry) >> handleFiltered: @15 line 13  [GsNMethod 124303105]
>33 WAApplication >> handleFiltered: @10 line 8  [GsNMethod 125733633]
>34 WAExceptionFilter (WARequestFilter) >> handleFiltered: @3 line 4  [GsNMethod 125992193]
>35 [] in  ExecBlock0 (WAExceptionFilter) >> handleFiltered: @2 line 7  [GsNMethod 144808449]
>36 ExecBlock0 (ExecBlock) >> on:do: @3 line 42  [GsNMethod 4237825]
>37 WACurrentExceptionHandler class (WADynamicVariable class) >> use:during: @2 line 4  [GsNMethod 124150017]
>38 [] in  ExecBlock0 (WAExceptionFilter) >> handleFiltered: @2 line 6  [GsNMethod 138398721]
>39 ExecBlock0 (ExecBlock) >> onException:do: @2 line 66  [GsNMethod 4235009]
>40 ExecBlock0 (ExecBlock) >> on:do: @5 line 47  [GsNMethod 4237825]
>41 WAGemStoneProductionErrorHandler (WAExceptionHandler) >> handleExceptionsDuring: @2 line 3  [GsNMethod 121948417]
>42 WAExceptionFilter >> handleFiltered: @5 line 4  [GsNMethod 124521985]
>43 [] in  ExecBlock0 (WARequestHandler) >> handle: @3 line 4  [GsNMethod 138723073]
>44 ExecBlock0 (ExecBlock) >> on:do: @3 line 42  [GsNMethod 4237825]
>45 WACurrentRequestContext class (WADynamicVariable class) >> use:during: @2 line 4  [GsNMethod 124150017]
>46 [] in  ExecBlock0 (WARequestContext) >> push:during: @2 line 5  [GsNMethod 134081025]
>47 ExecBlock0 (ExecBlock) >> ensure: @2 line 12  [GsNMethod 4207873]
>48 WAGemStoneRequestContext (WARequestContext) >> push:during: @3 line 6  [GsNMethod 121897729]
>49 WAApplication (WARequestHandler) >> handle: @2 line 4  [GsNMethod 125516801]
>50 WADispatcher >> handleFiltered:named: @3 line 5  [GsNMethod 126009345]
>51 WADispatcher >> handleFiltered: @8 line 6  [GsNMethod 126007553]
>52 [] in  ExecBlock0 (WARequestHandler) >> handle: @3 line 4  [GsNMethod 138723073]
>53 ExecBlock0 (ExecBlock) >> on:do: @3 line 42  [GsNMethod 4237825]
>54 WACurrentRequestContext class (WADynamicVariable class) >> use:during: @2 line 4  [GsNMethod 124150017]
>55 [] in  ExecBlock0 (WARequestContext) >> push:during: @2 line 5  [GsNMethod 134081025]
>56 ExecBlock0 (ExecBlock) >> ensure: @2 line 12  [GsNMethod 4207873]
>57 WAGemStoneRequestContext (WARequestContext) >> push:during: @3 line 6  [GsNMethod 121897729]
>58 WADispatcher (WARequestHandler) >> handle: @2 line 4  [GsNMethod 125516801]
>59 [] in  ExecBlock0 (WAServerAdaptor) >> handleRequest: @3 line 4  [GsNMethod 138707457]
>60 ExecBlock0 (ExecBlock) >> on:do: @3 line 42  [GsNMethod 4237825]
>61 WAFastCGIAdaptor (WAServerAdaptor) >> handleRequest: @2 line 5  [GsNMethod 125498625]
>62 WAFastCGIAdaptor (WAServerAdaptor) >> handle: @2 line 4  [GsNMethod 125493249]
>63 [] in  ExecBlock0 (WAServerAdaptor) >> process: @2 line 6  [GsNMethod 138708225]
>64 ExecBlock0 (ExecBlock) >> ensure: @2 line 12  [GsNMethod 4207873]
>65 WAFastCGIAdaptor (WAServerAdaptor) >> process: @4 line 7  [GsNMethod 125498881]
>66 [] in  ExecBlock1 (WAFastCGIAdaptor) >> process: @2 line 6  [GsNMethod 139375361]
>67 [] in  ExecBlock0 (GRGemStonePlatform) >> seasideProcessRequestWithRetry:resultBlock: @2 line 11  [GsNMethod 132136193]
>68 ExecBlock0 (ExecBlock) >> on:do: @3 line 42  [GsNMethod 4237825]
>69 [] in  ExecBlock0 (GRGemStonePlatform) >> seasideProcessRequestWithRetry:resultBlock: @11 line 12  [GsNMethod 121349633]
>70 ExecBlock0 (ExecBlock) >> ensure: @2 line 12  [GsNMethod 4207873]
>71 TransientRecursionLock >> critical: @11 line 12  [GsNMethod 35830529]
>72 GRGemStonePlatform >> seasideProcessRequestWithRetry:resultBlock: @3 line 5  [GsNMethod 118832897]
>73 [] in  ExecBlock0 (GRGemStonePlatform) >> seasideProcessRequest:adaptor:resultBlock: @6 line 9  [GsNMethod 121347841]
>74 ExecBlock0 (ExecBlock) >> on:do: @3 line 42  [GsNMethod 4237825]
>75 GRGemStonePlatform >> seasideProcessRequest:adaptor:resultBlock: @2 line 17  [GsNMethod 118831617]
>76 WAFastCGIAdaptor >> process: @3 line 4  [GsNMethod 126135809]
>77 [] in  ExecBlock0 (WAFastCGIAdaptor) >> answerResponderRole: @2 line 4  [GsNMethod 139371009]
>78 ExecBlock0 (ExecBlock) >> on:do: @3 line 42  [GsNMethod 4237825]
>79 WAFastCGIAdaptor >> answerResponderRole: @2 line 5  [GsNMethod 126132737]
>80 FSResponderRole >> answer @3 line 4  [GsNMethod 125601537]
>81 FSResponderRole (FSRole) >> handleConnection @3 line 5  [GsNMethod 124967937]
>82 FSConnection >> unsafeServe @5 line 8  [GsNMethod 125592065]
>83 [] in  ExecBlock0 (FSConnection) >> safeServe @2 line 8  [GsNMethod 144943361]
>84 ExecBlock0 (ExecBlock) >> on:do: @3 line 42  [GsNMethod 4237825]
>85 [] in  ExecBlock0 (FSConnection) >> safeServe @2 line 9  [GsNMethod 144682497]
>86 ExecBlock0 (ExecBlock) >> on:do: @3 line 42  [GsNMethod 4237825]
>87 [] in  ExecBlock0 (FSConnection) >> safeServe @2 line 12  [GsNMethod 138780417]
>88 ExecBlock0 (ExecBlock) >> ensure: @2 line 12  [GsNMethod 4207873]
>89 FSConnection >> safeServe @2 line 15  [GsNMethod 125586689]
>90 FSConnection >> serve @2 line 4  [GsNMethod 125586177]
>91 [] in  ExecBlock (FSSocketServer) >> listen: @3 line 15  [GsNMethod 138808321]
>92 GsProcess >> _start @7 line 16  [GsNMethod 4176641]
>93 <Reenter marker>
>-----------
>
>Any hints?
>
>TIA!
>
>Regard,
>Benito
>
>_______________________________________________
>Glass mailing list
>Glass at lists.gemtalksystems.com
>http://lists.gemtalksystems.com/mailman/listinfo/glass
>


More information about the Glass mailing list