Skip to content

Received unexpected nullPtr in "applicationNew" #143

@cdepillabout

Description

@cdepillabout

I got the following error message when trying to run my application:

(process:8888): Gtk-CRITICAL **: gtk_application_new: assertion 'application_id == NULL || g_application_id_is_valid (application_id)' failed
termonad: Received unexpected nullPtr in "applicationNew".
This is a bug in the introspection data, please report it at
https://github.com/haskell-gi/haskell-gi/issues
CallStack (from HasCallStack):
  checkUnexpectedReturnNULL, called at ./GI/Gtk/Objects/Application.hs:970:5 in gi-gtk-3.0.21-IByOj9Kidry3ftFhtyOx7b:GI.Gtk.Objects.Application
  applicationNew, called at src/Termonad.hs:320:10 in termonad-0.1.0.0-JHBJfH60zehIpW1tgcf327:Termonad

You can find my code here:

https://github.com/cdepillabout/termonad/blob/8f318cb4e46c6df89c15b54b72c0998ca6c18f16/src/Termonad.hs#L309-L324

You should be able to compile and run that project with a normal stack build && stack exec -- termonad.

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