2 Replies Latest reply on Nov 30, 2010 9:29 AM by ssilvert

    Richfaces CSS error

    javatwo

      We are using JBoss 5.1, Richfaces 3.3.1, JSFUnit 1.3. When we ran jsfunit test,  we got the following warnings on server side console:

      does CSS version used by Richfaces conflict with JSFunit?  Is there a way to fix it? Thanks for help.

      Dave


      11:56:42,947 WARN  [IncorrectnessListenerImpl] Obsolete content type encountered: 'text/javascript'.
      11:56:43,634 WARN  [IncorrectnessListenerImpl] Obsolete content type encountered: 'text/javascript'.
      11:56:43,869 WARN  [IncorrectnessListenerImpl] Obsolete content type encountered: 'text/javascript'.
      11:56:43,900 WARN  [IncorrectnessListenerImpl] Obsolete content type encountered: 'text/javascript'.
      11:56:43,962 WARN  [IncorrectnessListenerImpl] Obsolete content type encountered: 'text/javascript'.
      11:56:44,009 WARN  [IncorrectnessListenerImpl] Obsolete content type encountered: 'text/javascript'.
      11:56:44,040 WARN  [IncorrectnessListenerImpl] Obsolete content type encountered: 'text/javascript'.
      11:56:44,212 WARN  [IncorrectnessListenerImpl] Obsolete content type encountered: 'text/javascript'.
      11:56:44,337 WARN  [HTMLDocument] getElementById(script1290916604275) did a getElementByName for Internet Explorer
      11:56:44,431 ERROR [StrictErrorReporter] runtimeError: message=[The data necessary to complete this operation is not yet
      available.] sourceName=[http://192.168.1.11:80/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/jquery/jquery.js.do]
      line=[309] lineSource=[null] lineOffset=[0]
      11:56:44,509 WARN  [IncorrectnessListenerImpl] Obsolete content type encountered: 'text/javascript'.
      11:56:44,525 WARN  [IncorrectnessListenerImpl] Obsolete content type encountered: 'text/javascript'.
      11:56:44,587 WARN  [IncorrectnessListenerImpl] Obsolete content type encountered: 'text/javascript'.
      11:56:48,072 WARN  [DefaultCssErrorHandler] CSS error: null [1:96] Error in style rule. Invalid token "|". Was expecting
      one of: <S>, <LBRACE>, <COMMA>, ".", ":", "[", <HASH>, <PLUS>, <GREATER>.
      11:56:48,072 WARN  [DefaultCssErrorHandler] CSS warning: null [1:96] Ignoring the following declarations in this rule.
      11:56:48,087 WARN  [DefaultCssErrorHandler] CSS error: null [1:380] Error in style rule. Invalid token "|". Was expecting one of: <S>, <LBRACE>, <COMMA>, ".", ":", "[", <HASH>, <PLUS>, <GREATER>.
      11:56:48,087 WARN  [DefaultCssErrorHandler] CSS warning: null [1:380] Ignoring the following declarations in this rule.
      11:56:48,087 WARN  [DefaultCssErrorHandler] CSS error: null [1:1000] Error in style rule. Invalid token "|". Was expecting one of: <S>, <LBRACE>, <COMMA>, ".", ":", "[", <HASH>, <PLUS>, <GREATER>.
      11:56:48,087 WARN  [DefaultCssErrorHandler] CSS warning: null [1:1000] Ignoring the following declarations in this rule.

      11:56:48,087 WARN  [DefaultCssErrorHandler] CSS error: null [1:1596] Error in style rule. Invalid token "|". Was expecting one of: <S>, <LBRACE>, <COMMA>, ".", ":", "[", <HASH>, <PLUS>, <GREATER>.
      11:56:48,103 WARN  [DefaultCssErrorHandler] CSS warning: null [1:1596] Ignoring the following declarations in this rule.

      11:56:48,103 WARN  [DefaultCssErrorHandler] CSS error: null [1:1868] Error in style rule. Invalid token "|". Was expecting one of: <S>, <LBRACE>, <COMMA>, ".", ":", "[", <HASH>, <PLUS>, <GREATER>.
      11:56:48,103 WARN  [DefaultCssErrorHandler] CSS warning: null [1:1868] Ignoring the following declarations in this rule.

      11:56:48,103 WARN  [DefaultCssErrorHandler] CSS error: null [1:2430] Error in style rule. Invalid token "|". Was expecting one of: <S>, <LBRACE>, <COMMA>, ".", ":", "[", <HASH>, <PLUS>, <GREATER>.
      11:56:48,103 WARN  [DefaultCssErrorHandler] CSS warning: null [1:2430] Ignoring the following declarations in this rule.

      11:56:48,119 WARN  [DefaultCssErrorHandler] CSS error: null [1:2901] Error in style rule. Invalid token "|". Was expecting one of: <S>, <LBRACE>, <COMMA>, ".", ":", "[", <HASH>, <PLUS>, <GREATER>.
      11:56:48,119 WARN  [DefaultCssErrorHandler] CSS warning: null [1:2901] Ignoring the following declarations in this rule.

      11:56:48,134 WARN  [DefaultCssErrorHandler] CSS error: null [1:3438] Error in style rule. Invalid token "|". Was expecting one of: <S>, <LBRACE>, <COMMA>, ".", ":", "[", <HASH>, <PLUS>, <GREATER>.
      11:56:48,134 WARN  [DefaultCssErrorHandler] CSS warning: null [1:3438] Ignoring the following declarations in this rule.

      11:56:48,150 WARN  [DefaultCssErrorHandler] CSS error: null [1:4311] Error in style rule. Invalid token "|". Was expecting one of: <S>, <LBRACE>, <COMMA>, ".", ":", "[", <HASH>, <PLUS>, <GREATER>.
      11:56:48,150 WARN  [DefaultCssErrorHandler] CSS warning: null [1:4311] Ignoring the following declarations in this rule.

      11:56:48,150 WARN  [DefaultCssErrorHandler] CSS error: null [1:5210] Error in style rule. Invalid token "|". Was expecting one of: <S>, <LBRACE>, <COMMA>, ".", ":", "[", <HASH>, <PLUS>, <GREATER>.
      11:56:48,165 WARN  [DefaultCssErrorHandler] CSS warning: null [1:5210] Ignoring the following declarations in this rule.

      11:56:48,165 WARN  [DefaultCssErrorHandler] CSS error: null [1:5652] Error in style rule. Invalid token "|". Was expecting one of: <S>, <LBRACE>, <COMMA>, ".", ":", "[", <HASH>, <PLUS>, <GREATER>.
      11:56:48,165 WARN  [DefaultCssErrorHandler] CSS warning: null [1:5652] Ignoring the following declarations in this rule.

      11:56:48,197 WARN  [DefaultCssErrorHandler] CSS error: null [1:6384] Error in style rule. Invalid token "|". Was expecting one of: <S>, <LBRACE>, <COMMA>, ".", ":", "[", <HASH>, <PLUS>, <GREATER>.
      11:56:48,197 WARN  [DefaultCssErrorHandler] CSS warning: null [1:6384] Ignoring the following declarations in this rule.

      11:56:48,259 WARN  [DefaultCssErrorHandler] CSS error: null [1:363] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM
      >, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FRE
      Q_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
      11:56:48,259 WARN  [DefaultCssErrorHandler] CSS error: null [1:368] Error in style rule. Invalid token "opacity". Was expecting one of: "}", ";".
      11:56:48,275 WARN  [DefaultCssErrorHandler] CSS warning: null [1:368] Ignoring the following declarations in this rule.
      11:56:48,275 WARN  [DefaultCssErrorHandler] CSS error: null [1:1408] Error in expression. Invalid token "=". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_C
      M>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
      11:56:48,290 WARN  [DefaultCssErrorHandler] CSS error: null [1:1413] Error in style rule. Invalid token "opacity". Was expecting one of: "}", ";".
      11:56:48,290 WARN  [DefaultCssErrorHandler] CSS warning: null [1:1413] Ignoring the following declarations in this rule.

      11:56:48,415 WARN  [DefaultCssErrorHandler] CSS error: null [385:30] Error in expression. Invalid token ".". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_C
      M>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
      11:56:48,415 WARN  [DefaultCssErrorHandler] CSS error: null [385:54] Error in style rule. Invalid token "\r\n". Was expecting one of: "}", ";".
      11:56:48,431 WARN  [DefaultCssErrorHandler] CSS warning: null [385:54] Ignoring the following declarations in this rule.

      11:56:48,431 WARN  [DefaultCssErrorHandler] CSS error: null [392:30] Error in expression. Invalid token ".". Was expecting one of: <S>, <COMMA>, "/", <PLUS>, "-", <HASH>, <STRING>, ")", <URI>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FR
      EQ_HZ>, <FREQ_KHZ>, <DIMENSION>, <PERCENTAGE>, <NUMBER>, <FUNCTION>, <IDENT>.
      11:56:48,431 WARN  [DefaultCssErrorHandler] CSS error: null [392:48] Error in style rule. Invalid token "\r\n". Was expecting one of: "}", ";".