Skip to content

Exception handling in DocListWidget #1

@zmalinowski

Description

@zmalinowski

There should be handled exceptions on retrieving documents from document source.

java.lang.NullPointerException
    at org.aperteworkflow.contrib.document.providers.cmis.CmisDocumentProvider.getDocuments(CmisDocumentProvider.java:73)
    at org.aperteworkflow.contrib.widgets.doclist.DocumentListWidget.getDocumentList(DocumentListWidget.java:173)
    at org.aperteworkflow.contrib.widgets.doclist.DocumentListWidget.reload(DocumentListWidget.java:164)
    at org.aperteworkflow.contrib.widgets.doclist.DocumentListWidget.render(DocumentListWidget.java:155)
    at pl.net.bluesoft.rnd.processtool.ui.basewidgets.VerticalLayoutWidget.render(VerticalLayoutWidget.java:47)
    at pl.net.bluesoft.rnd.processtool.ui.process.ProcessDataPane.initLayout(ProcessDataPane.java:118)
    at pl.net.bluesoft.rnd.processtool.ui.process.ProcessDataPane.access$800(ProcessDataPane.java:35)
    at pl.net.bluesoft.rnd.processtool.ui.process.ProcessDataPane$1$1$2.run(ProcessDataPane.java:184)
    at org.aperteworkflow.util.vaadin.VaadinExceptionHandler$Util.withErrorHandling(VaadinExceptionHandler.java:27)
    at pl.net.bluesoft.rnd.processtool.ui.process.ProcessDataPane$1$1.performAction(ProcessDataPane.java:180)
    at pl.net.bluesoft.rnd.processtool.ui.buttons.StandardValidatingButton.onButtonPress(StandardValidatingButton.java:65)
    at pl.net.bluesoft.rnd.processtool.ui.process.ProcessDataPane$1.buttonClick(ProcessDataPane.java:161)

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions