Can add term but it is broken

Issue #8 resolved
Jan Szczepanski created an issue

When I add a new term, the page afterwards is not editable at all. The term is also not recognised in the page. Error message:

2019-07-05 11:12:58,534 ERROR [http-nio-8090-exec-3] [atlassian.confluence.event.ConfluenceEventDispatcher] run There was an exception thrown trying to dispatch event [com.atlassian.confluence.plugins.create
content.api.events.BlueprintPageCreateEvent@c10a71b[blueprintKey=com.wknowledge.atlassian.confluence.wglossary:glossary-term,context={spaceKey=KEY, parentPageId=7995487, title=Gitlab, content=GitLab ist e
ine Webanwendung zur Versionsverwaltung für Softwareprojekte auf Basis von Git. Sie bietet diverse Management und Bug-Tracking-Funktionalitäten sowie mit GitLab CI ein System zur kontinuierlichen Integration
. GitLab ist in den Programmiersprachen Ruby und Go entwickelt., language=2, label=git, synonyms=, abbreviations=, forms=},creator=ConfluenceUserImpl{name='jan.szczepanski', key=de90f36d66f801c60166f80f35cd0
001},blueprint=KEY:com.wknowledge.atlassian.confluence.wglossary:glossary-term/SPACE:null/CLONE:true/ID:dbb65d5a-246c-4908-b439-6230328a5497,page=page: Gitlab v.1 (7995495),suppressNotifications=false,timest
amp=1562317978530]] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.wknowledge.atlassian.confluence.glossary.blueprint.TermBlueprintListener.onBlueprintCreateEvent(com.atlassian
.confluence.plugins.createcontent.api.events.BlueprintPageCreateEvent), listener=com.wknowledge.atlassian.confluence.glossary.blueprint.TermBlueprintListener@62ba5fa2} (timed)]
 -- referer: https://FQDN | url: /wiki/rest/create-dialog/1.0/content-blueprint/create-content | traceId: 53dc70261e1a34fb | userName: jan.szczepanski
java.lang.RuntimeException: Listener: com.wknowledge.atlassian.confluence.glossary.blueprint.TermBlueprintListener event: com.atlassian.confluence.plugins.createcontent.api.events.BlueprintPageCreateEvent
        at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:50)
        at com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration$TimedListenerInvoker.invoke(ConfluenceListenerHandlersConfiguration.java:96)
        at com.atlassian.confluence.event.ConfluenceEventDispatcher$VCacheRequestContextRunnableFactory$1.lambda$run$0(ConfluenceEventDispatcher.java:93)
        at com.atlassian.confluence.vcache.VCacheRequestContextOperations.lambda$doInRequestContext$0(VCacheRequestContextOperations.java:50)
        at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87)
        at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71)
        at com.atlassian.confluence.vcache.VCacheRequestContextOperations.doInRequestContext(VCacheRequestContextOperations.java:49)
        at com.atlassian.confluence.event.ConfluenceEventDispatcher$VCacheRequestContextRunnableFactory$1.run(ConfluenceEventDispatcher.java:93)
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
        at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:88)
        at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:203)
        at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:114)
        at com.atlassian.confluence.event.TimingEventPublisher.publish(TimingEventPublisher.java:76)
        at sun.reflect.GeneratedMethodAccessor240.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
        at com.sun.proxy.$Proxy497.publish(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor240.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)

[...]

Caused by: java.lang.NullPointerException
        at com.wknowledge.atlassian.confluence.glossary.blueprint.TermBlueprintListener.onBlueprintCreateEvent(TermBlueprintListener.java:56)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:40)
        ... 373 more

Comments (4)

  1. info Knowledge
    • changed status to open

    Hi Jan,

    thanks for reaching out.

    The issue is caused by the empty domain field value.

    A new version will be released ASAP.

    Best regards,

    Jennifer

  2. Jan Szczepanski reporter

    Hi Jennifer,

    I changed the real domain to FQDN. I guess thats not the issue.

    Regards Jan

  3. info Knowledge

    Hi Jan, A new version has been released which resolves the issue.

    Please update to last version and re-open the issue if that's not resolved.

    Best regards, Jennifer

  4. Log in to comment