GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — datomic.samples.TxFunctions#main does not work for java 11 · Issue #4 · Datomic/datomic-java-examples

datomic.samples.TxFunctions#main does not work for java 11 #4

New issue
Copy link
New issue
Copy link
Open
Open
datomic.samples.TxFunctions#main does not work for java 11#4
Copy link

Description

@nikolayandr
nikolayandr
opened on Aug 1, 2020
Issue body actions

In this case

Exception in thread "main" java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.NullPointerException
	at datomic.promise$throw_executionexception_if_throwable.invoke(promise.clj:10)
	at datomic.promise$settable_future$reify__6471.deref(promise.clj:54)
	at clojure.core$deref.invoke(core.clj:2206)
	at datomic.promise$settable_future$reify__6471.get(promise.clj:45)

is thrown on attempting transact data which contains call to :examples/ensure-composite

See more details https://forum.datomic.com/t/transaction-functions-written-in-java-do-not-work-for-datomic-mem-protocol-when-application-is-run-in-java-11/1546

Activity

  1. toddbrawn-1 commented on Jun 16, 2021

    @toddbrawn-1
    toddbrawn-1
    on Jun 16, 2021
    More actions

    In this call:
    results = Peer.query("[:find [?artist-name ...] " +
    " :in $ ?country [?reference ...] " +
    " :where [(datomic.api/entid $ ?country) ?country-id] " +
    " [?artist :artist/name ?artist-name] " +
    " [?artist ?reference ?country-id]]",
    db, Util.read(":country/BE"), Util.list(Util.read(":artist/country")));

    I am getting the following error: java.lang.ClassNotFoundException: datomic.api, compiling:(NO_SOURCE_PATH:0:0)

    Can you tell me what configuration I am missing?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.