Skip to content

Commit 0be4aeb

Browse files
committed
[fix] Fix NPE when importing example plug-ins
Signed-off-by: Pierre-Charles David <[email protected]>
1 parent 6d7cd57 commit 0be4aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/org.eclipse.gmf.examples.runtime.ui.pde/src/org/eclipse/gmf/examples/runtime/ui/pde/internal/wizards/ProjectUnzipperNewWizard.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ public void setInitializationData(IConfigurationElement configIn,
500500

501501
IConfigurationElement[] projectElements = config.getChildren("project"); //$NON-NLS-1$
502502
for (int i=0;i<projectElements.length;i++) {
503-
zipURLs.add(FileLocator.find(GmfExamplesPlugin.getDefault().getBundle(), new Path(projectElements[i].getAttribute("zipPath"), null))); //$NON-NLS-1$
503+
zipURLs.add(FileLocator.find(GmfExamplesPlugin.getDefault().getBundle(), new Path(projectElements[i].getAttribute("zipPath")))); //$NON-NLS-1$
504504
if (projectElements[i].getAttribute("nameFormat") == null) { //$NON-NLS-1$
505505
nameFormatsL.add("{0}"); //$NON-NLS-1$
506506
} else {

0 commit comments

Comments
 (0)