Skip to content

web crawl of prices incompatible with Java 17 #8

@petebp

Description

@petebp

With Java 17 you cannot get prices via JSFetch, it will tend to the following error:

java.lang.NullPointerException: Cannot invoke "javax.script.ScriptEngine.put(String, Object)" because "engine" is null
	at jsq.fetcher.history.GenericJSFetcher.<init>(GenericJSFetcher.java:40)
	at jsq.fetch.factory.Factory.addJSFetcher(Factory.java:41)

Probably it's related to the removal of the nashorn javascript engine, like mentioned here, where also a solution is shown: https://stackoverflow.com/questions/71481562/use-javascript-scripting-engine-in-java-17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions