moovida / beegis

Automatically exported from code.google.com/p/beegis
0 stars 0 forks source link

error in import photos #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This error occurs when I try to import photos 

java.lang.reflect.InvocationTargetException
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
    at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:275)
    at org.eclipse.ui.internal.progress.ProgressManager$5.run(ProgressManager.java:960)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:995)
    at org.eclipse.ui.internal.progress.ProgressManager.busyCursorWhile(ProgressManager.java:970)
    at eu.hydrologis.jgrass.geonotes.photo.PhotoImportWizard$1.run(PhotoImportWizard.java:97)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at net.refractions.udig.internal.ui.UDIGApplication.start(UDIGApplication.java:136)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Caused by: java.lang.ArrayIndexOutOfBoundsException: Can handle 3 attributes 
only, index is 3
    at org.geotools.feature.simple.SimpleFeatureBuilder.set(SimpleFeatureBuilder.java:291)
    at org.geotools.feature.simple.SimpleFeatureBuilder.add(SimpleFeatureBuilder.java:218)
    at org.geotools.feature.simple.SimpleFeatureBuilder.addAll(SimpleFeatureBuilder.java:227)
    at org.geotools.feature.simple.SimpleFeatureBuilder.addAll(SimpleFeatureBuilder.java:235)
    at eu.hydrologis.jgrass.geonotes.photo.PhotoImportWizard$1$1.run(PhotoImportWizard.java:214)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
java.lang.ArrayIndexOutOfBoundsException: Can handle 3 attributes only, index 
is 3
    at org.geotools.feature.simple.SimpleFeatureBuilder.set(SimpleFeatureBuilder.java:291)
    at org.geotools.feature.simple.SimpleFeatureBuilder.add(SimpleFeatureBuilder.java:218)
    at org.geotools.feature.simple.SimpleFeatureBuilder.addAll(SimpleFeatureBuilder.java:227)
    at org.geotools.feature.simple.SimpleFeatureBuilder.addAll(SimpleFeatureBuilder.java:235)
    at eu.hydrologis.jgrass.geonotes.photo.PhotoImportWizard$1$1.run(PhotoImportWizard.java:214)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Original issue reported on code.google.com by mesca...@gmail.com on 11 Mar 2011 at 3:51

GoogleCodeExporter commented 9 years ago
Solved on main.

Original comment by andrea.a...@gmail.com on 11 Mar 2011 at 11:55