Skip to content

Custom scheme onLoadError not called #365

Description

@magreenblatt

Original report by Jim Redman (Bitbucket: jredman, GitHub: jredman).


If you run the test application (./run.sh linux64 Release detailed) and enter an invalid “client” URL, eg client://test the error:

[0318/172459.150269:ERROR:validation_errors.cc(76)] Invalid message: VALIDATION_ERROR_DESERIALIZATION_FAILED (content.mojom.NavigationClient.1332418809 )

is displayed in the log window.

onLoadError of CefLoadHandlerAdapter is not called.

I can’t reproduce it in the test application, but you can reach a state where these messages just scroll constantly.

This appears to be a regression. Under, for example:

JCEF Version = 78.2.7.239
CEF Version = 78.2.7
Chromium Version = 78.0.3904.70

The error message was printed but onLoadError was also called.

I tried with the default chromium 80.0.3987.122 and with this:

JCEF Version = 80.0.8.244
CEF Version = 80.0.8
Chromium Version = 80.0.3987.132

Activity

  1. magreenblatt commented on Mar 18, 2020

    @magreenblatt
    CollaboratorAuthor

    Original comment by Jim Redman (Bitbucket: jredman, GitHub: jredman).


    Platform is Linux Manjaro 4.19.107-1-MANJARO

  2. magreenblatt commented on Jan 4, 2022

    @magreenblatt
    CollaboratorAuthor

    Original comment by V1P3R_Hax (Bitbucket: V1P3R_Hax).


    I am currently experiencing this as well with:
    JCEFMaven Version = 95.7.14.3

    JCEF commit = a51ff7f (bb)

    CefVersion = 95.7.14+g9f72f35+chromium-95.0.4638.69

    Platform: 5.10.89-1-MANJARO

    Error:
    [0104/181844.812888:WARNING:network_service.cc(193)] Mojo error in NetworkService: Validation failed for network.mojom.NetworkContext.1  [VALIDATION_ERROR_DESERIALIZATION_FAILED]
    [0104/181844.812905:ERROR:interface_endpoint_client.cc(656)] Message [665490909 (bb)](https://bitbucket.org/chromiumembedded/java-cef/commits/665490909) rejected by interface network.mojom.NetworkContext
    [0104/181844.813515:ERROR:validation_errors.cc(117)] Invalid message: VALIDATION_ERROR_DESERIALIZATION_FAILED

  3. magreenblatt commented on Jan 29, 2023

    @magreenblatt
    CollaboratorAuthor

    Original comment by ds58 (Bitbucket: ds58, GitHub: ds58).


    I am having the same issue. The custom schemes in the detailed example do not seem to work on Linux. I am using Fedora 36. All I have to do to reproduce is launch the detailed example and click on any of the custom scheme bookmarks.

    JCEF Version = 109.1.11.308
    CEF Version = 109.1.11
    Chromium Version = 109.0.5414.87
    
    [0128/183613.371450:WARNING:network_service.cc(213)] Mojo error in NetworkService: Validation failed for network.mojom.NetworkContext.1  [VALIDATION_ERROR_DESERIALIZATION_FAILED]
    [0128/183613.371455:ERROR:interface_endpoint_client.cc(695)] Message [1397291260 (bb)](https://bitbucket.org/chromiumembedded/java-cef/commits/1397291260) rejected by interface network.mojom.NetworkContext
    [0128/183613.394264:ERROR:validation_errors.cc(117)] Invalid message: VALIDATION_ERROR_DESERIALIZATION_FAILED
    

    @{557058:2f2a2aee-b500-4023-9734-037e9897c3ab}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug report

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions