[
https://jira.jboss.org/jira/browse/JBIDE-3928?page=com.atlassian.jira.plu...
]
Rob Stryker commented on JBIDE-3928:
------------------------------------
I'm adding a null check to both streams but other than that, thats it.
The export wizard is intended only to work with projects of that type. You cannot, for
example, export a POJP as a WAR or export an ESB project as an EJB project.
These export wizards are strongly typed. If the projec tis not the correct type, the
export wizard will not work on it.
ESB file export issues
-----------------------
Key: JBIDE-3928
URL:
https://jira.jboss.org/jira/browse/JBIDE-3928
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: esb, JBossAS
Affects Versions: 3.0.0.GA
Reporter: Max Rydahl Andersen
Assignee: Rob Stryker
Fix For: 3.0.0.GA
While writing new and noteworthy for the ESB export I found the following issue:
ESB File > Next
java.lang.NullPointerException
at org.eclipse.core.runtime.Path.<init>(Path.java:182)
at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:163)
at
org.jboss.tools.esb.project.ui.wizards.export.ESBComponentExportDataModelProvider.validate(ESBComponentExportDataModelProvider.java:62)
at
org.eclipse.wst.common.frameworks.internal.datamodel.DataModelImpl.validateProperty(DataModelImpl.java:431)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.validateProperty(DataModelWizardPage.java:370)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.validateControlsBase(DataModelWizardPage.java:356)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.validatePage(DataModelWizardPage.java:333)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.enter(DataModelWizardPage.java:210)
at org.eclipse.jst.j2ee.internal.wizard.J2EEExportPage.enter(J2EEExportPage.java:493)
at
org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.setVisible(DataModelWizardPage.java:307)
at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1161)
at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1139)
at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1128)
I could only get it to run if I had a ESB project in the project and even then it would
select the existing project which is not an ESB - the logic for warnings seem to only work
if I actually got a real esb project ;)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira