Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null Pointer Exception when trying to export Extension Projects #62

Closed
shobhanmandal opened this issue Feb 28, 2018 · 0 comments
Closed
Assignees
Labels

Comments

@shobhanmandal
Copy link
Contributor

A Null Pointer Exception arises under two conditions:

  1. There is no Extension project to be exported
  2. If no project exists under the Package Explorer (or no Extension project is selected under the Package Explorer) and you go File->Export->LibreOffice package.

!ENTRY org.eclipse.ui 4 0 2018-02-28 17:44:34.662
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.libreoffice.ide.eclipse.core.gui.PackageContentSelector.getDefaultContent(PackageContentSelector.java:145)
at org.libreoffice.ide.eclipse.core.gui.PackageContentSelector.loadDefaults(PackageContentSelector.java:109)
at org.libreoffice.ide.eclipse.core.wizards.pages.UnoPackageExportPage.loadData(UnoPackageExportPage.java:149)
at org.libreoffice.ide.eclipse.core.wizards.pages.UnoPackageExportPage.createControl(UnoPackageExportPage.java:129)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:175)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:696)
at org.eclipse.jface.wizard.WizardDialog.setWizard(WizardDialog.java:1144)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1197)
at org.eclipse.jface.wizard.WizardDialog.lambda$2(WizardDialog.java:1185)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1185)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:876)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:419)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

shobhanmandal added a commit to shobhanmandal/loeclipse that referenced this issue Feb 28, 2018
@smehrbrodt smehrbrodt added the bug label Feb 28, 2018
shobhanmandal added a commit to shobhanmandal/loeclipse that referenced this issue Feb 28, 2018
…sion Projects

The exception was fixed when a particular function which was being called even when there were no Extension Projects was put under proper if condition
shobhanmandal added a commit to shobhanmandal/loeclipse that referenced this issue Mar 1, 2018
…sion Projects

The exception was fixed when a particular function which was being called even when there were no Extension Projects was put under proper if condition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants