1

GWT(2.5.0)アプリに問題があります。ユーザーが「更新」またはF5ボタンを押すと、一部の(すべてではない)ページでアプリが応答を停止し、読み込みホイールのみが表示されます。たとえば、ページのhttp://127.0.0.1:8888/portal/index.html?gwt.codesvr=127.0.0.1:9997#categories更新は正常に機能しますが、http://127.0.0.1:8888/portal/index.html?gwt.codesvr=127.0.0.1:9997#dataset/1474機能しません。手動で127.0.0.1:8888/portal/index.html?gwt.codesvr=127.0.0.1:9997再度確認する必要があります。初めて起動すると、次のメッセージが表示されます。

    Loading module: portal
  Top URL: http://127.0.0.1:8888/portal/index.html?gwt.codesvr=127.0.0.1:9997
  User agent: FF
  Remote host: localhost:33702
  Tab key: 0x942f6ad0
  Session key: *u'04>->84mG9\V\
DEBUG: Validating units:
  INFO: Ignored 4 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
INFO: Module portal has been loaded

更新を押すと、次のようになります。

Loading module: portal
  Top URL: http://127.0.0.1:8888/portal/index.html?gwt.codesvr=127.0.0.1:9997#dataset/247
  User agent: FF
  Remote host: localhost:33727
  Tab key: 0x942f6ad0
  Session key: j[!{tfNQto8{^&>D
DEBUG: Validating units:
  INFO: Ignored 4 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
DEBUG: Rebinding com.example.portal.ui.client.dataset.rpc.VDatasetDGService
  DEBUG: Adding '46' new generated units
    DEBUG: Validating units:
      TRACE: Errors in 'generated://C89FA10FB0221276522030F263FADCFA/com/example/core/application/api/DashboardAnnotationDto_FieldSerializer.java'
      TRACE: Errors in 'generated://444002CF23E85026C65248F49EB99E1E/com/example/core/application/api/DashboardColumnDto_FieldSerializer.java'
      TRACE: Errors in 'generated://7DEC0CE328D95C92EEBFD44D58F865CD/com/example/core/application/api/DashboardDto_FieldSerializer.java'
      TRACE: Errors in 'generated://5A1445C62C01E373F4894D65809B536E/com/example/core/application/api/SavedViewDto_FieldSerializer.java'
      TRACE: Errors in 'generated://B1CFA3457166E1C34069A9879469FFA2/com/example/portal/ui/client/common/rpc/AccessDeniedUiException_FieldSerializer.java'
      INFO: Ignored 5 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
        INFO: See snapshot: /tmp/com.example.core.application.api.DashboardAnnotationDto_FieldSerializer2049573901487473293.java
        INFO: See snapshot: /tmp/com.example.core.application.api.DashboardColumnDto_FieldSerializer2257704401750789459.java
        INFO: See snapshot: /tmp/com.example.core.application.api.DashboardDto_FieldSerializer256293197012885556.java
        INFO: See snapshot: /tmp/com.example.core.application.api.SavedViewDto_FieldSerializer8667778097358587561.java
        INFO: See snapshot: /tmp/com.example.portal.ui.client.common.rpc.AccessDeniedUiException_FieldSerializer4641234980664694792.java
INFO: Module portal has been loaded

この情報が十分でない場合は、さらに質問してください。

更新が失敗した場合のログのより詳細な部分は次のとおりです。

com.example.portal.ui.client.dataset.rpc.VDatasetDGService_Proxy
  DEBUG: Adding '46' new generated units
    TRACE: Compiling...
    TRACE: Invalid Unit: com.example.core.application.api.SavedViewDto_FieldSerializer
    TRACE: Invalid Unit: com.example.core.application.api.DashboardColumnDto_FieldSerializer
    TRACE: Invalid Unit: com.example.core.application.api.DashboardAnnotationDto_FieldSerializer
    TRACE: Invalid Unit: com.example.core.application.api.DashboardDto_FieldSerializer
    TRACE: Invalid Unit: com.example.portal.ui.client.common.rpc.AccessDeniedUiException_FieldSerializer
    TRACE: Invalid units found: 5
    TRACE: Compiling...
      TRACE: Compilation completed in 0,00 seconds
      TRACE: Compilation completed in 0,43 seconds
    TRACE: Added 5 units to cache since last cleanup.
    DEBUG: Validating units:
    TRACE: Removing invalidated units
      TRACE:    s in 'generated://C89FA10FB0221276522030F263FADCFA/com/example/core/application/api/DashboardAnnotationDto_FieldSerializer.java'
      TRACE: Errors in 'generated://444002CF23E85026C65248F49EB99E1E/com/example/core/application/api/DashboardColumnDto_FieldSerializer.java'
      TRACE: Errors in 'generated://7DEC0CE328D95C92EEBFD44D58F865CD/com/example/core/application/api/DashboardDto_FieldSerializer.java'
      TRACE: Errors in 'generated://5A1445C62C01E373F4894D65809B536E/com/example/core/application/api/SavedViewDto_FieldSerializer.java'
      TRACE: Errors in 'generated://B1CFA3457166E1C34069A9879469FFA2/com/example/portal/ui/client/common/rpc/AccessDeniedUiException_FieldSerializer.java'
  DEBUG: Relinking module 'portal'
        TRACE: Line 32: com.example.core.application.api.BaseLongIdentifiedDto_FieldSerializer cannot be resolved to a type
        TRACE: Line 43: com.example.core.application.api.BaseLongIdentifiedDto_FieldSerializer cannot be resolved to a type
        INFO: See snapshot: /tmp/com.example.core.application.api.DashboardAnnotationDto_FieldSerializer5862698034462806589.java
        TRACE: Line 44: com.example.core.application.api.BaseLongIdentifiedDto_FieldSerializer cannot be resolved to a type
        TRACE: Line 58: com.example.core.application.api.BaseLongIdentifiedDto_FieldSerializer cannot be resolved to a type
        INFO: See snapshot: /tmp/com.example.core.application.api.DashboardColumnDto_FieldSerializer6902331775752414472.java
        TRACE: Line 52: com.example.core.application.api.BaseLongIdentifiedDto_FieldSerializer cannot be resolved to a type
        TRACE: Line 65: com.example.core.application.api.BaseLongIdentifiedDto_FieldSerializer cannot be resolved to a type
        INFO: See snapshot: /tmp/com.example.core.application.api.DashboardDto_FieldSerializer5870139301570285930.java
        TRACE: Line 183: com.example.core.application.api.BaseLongIdentifiedDto_FieldSerializer cannot be resolved to a type
        TRACE: Line 210: com.example.core.application.api.BaseLongIdentifiedDto_FieldSerializer cannot be resolved to a type
        INFO: See snapshot: /tmp/com.example.core.application.api.SavedViewDto_FieldSerializer1128689625908711248.java
        TRACE: Line 12: com.google.gwt.user.client.rpc.core.java.lang.Exception_FieldSerializer cannot be resolved to a type
        TRACE: Line 21: com.google.gwt.user.client.rpc.core.java.lang.Exception_FieldSerializer cannot be resolved to a type
        INFO: See snapshot: /tmp/com.example.portal.ui.client.common.rpc.AccessDeniedUiException_FieldSerializer717502603474217145.java

そして、これが機能するときです:

com.example.portal.ui.client.dataset.rpc.VDatasetDGService_Proxy
  DEBUG: Adding '46' new generated units
  DEBUG: Relinking module 'portal'
    TRACE: Compiling...
    TRACE: Added 0 units to cache since last cleanup.
    TRACE: Removing invalidated units
4

1 に答える 1

0

基本的に、VDatasetDGService に関連付けられている RPC サービスとモデルにドリルダウンして修正する必要があります。

GWT コンパイラ オプション -logLevel TRACE を設定してから、strict フラグ true でコンパイルを試みます。VDatasetDGService エラーに関連する詳細情報が表示される場合があります。

于 2013-03-06T17:32:12.947 に答える