Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A fatal error has been detected by the Java Runtime Environment #942

Copy link
Copy link
@851543

Description

@851543
Issue body actions

@DaTa
@component
@slf4j
public class FiscoBcos {

private BcosSDK bcosSDK;

@PostConstruct
public void init() {
    ConfigProperty configProperty = loadProperty();
    ConfigOption configOption;
    try {
        configOption = new ConfigOption(configProperty);
    } catch (ConfigException e) {
        log.error(e.getMessage());
        return;
    }
    bcosSDK = new BcosSDK(configOption);
}

public ConfigProperty loadProperty() {
    Representer representer = new Representer();
    representer.getPropertyUtils().setSkipMissingProperties(true);
    Yaml yaml = new Yaml(representer);
    String configFile = "/fisco/fisco-config.yml";
    try (InputStream inputStream = this.getClass().getResourceAsStream(configFile)) {
        return yaml.loadAs(inputStream, ConfigProperty.class);
    } catch (Exception e) {
        log.error(e.getMessage());
    }
    return null;
}

}

    bcosSDK = new BcosSDK(configOption);
    long nativePointer = create(jniConfig);

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x00007ffc4bcaaf29, pid=8520, tid=2316

JRE version: Java(TM) SE Runtime Environment (17.0.10+11) (build 17.0.10+11-LTS-240)

Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0.10+11-LTS-240, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)

Problematic frame:

C [KERNELBASE.dll+0x3af29]

No core dump will be written. Minidumps are not enabled by default on client versions of Windows

An error report file with more information is saved as:

E:\idea\project\Java\fish-dish-server\hs_err_pid8520.log

If you would like to submit a bug report, please visit:

https://bugreport.java.com/bugreport/crash.jsp

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

Process finished with exit code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.