Issue Details (XML | Word | Printable)

Key: AGROSENSE-1397
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Tom Verhage
Reporter: Tom Verhage
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
agrosense

Drag sensordata to map first time (cropcircle)

Created: 15/Jan/13 04:54 PM   Updated: 06/Feb/13 10:33 AM   Resolved: 06/Feb/13 10:33 AM
Component/s: Sensor
Affects Version/s: None
Fix Version/s: 13.01

Time Tracking:
Not Specified

Tags:
Participants: Tom Verhage


 Description  « Hide

New grid situation.
Import sensordata (e.g. KMWP 010710AC.CSV)
Drag sensorfile to the map or open the properties screen for the file
Expected: sensorfile shows on map
Result: sensorfile shows, but error is raised

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at nl.cloudfarming.client.sensor.cropcircle.CropcircleFileProcessor.process(CropcircleFileProcessor.java:117)
at nl.cloudfarming.client.sensor.SensorDataObject.getSensorGrid(SensorDataObject.java:59)
at nl.cloudfarming.client.sensor.SensorFileNode.<init>(SensorFileNode.java:61)
at nl.cloudfarming.client.sensor.cropcircle.CropCircleDataObject$CropCircleNode.<init>(CropCircleDataObject.java:82)
at nl.cloudfarming.client.sensor.cropcircle.CropCircleDataObject.createNodeDelegate(CropCircleDataObject.java:55)
at org.openide.loaders.DataObject$1.run(DataObject.java:310)
at org.openide.util.Mutex.readAccess(Mutex.java:367)
at org.openide.util.Mutex$1R.run(Mutex.java:1309)
at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1921)
at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1328)
at org.openide.util.Mutex.readAccess(Mutex.java:356)
at org.openide.loaders.DataObject.getNodeDelegateImpl(DataObject.java:306)
at org.openide.loaders.DataObject.getNodeDelegate(DataObject.java:298)
at org.openide.loaders.DataObject.getClonedNodeDelegate(DataObject.java:331)
at org.openide.loaders.FolderChildren.createNode(FolderChildren.java:239)
at org.openide.loaders.FolderChildren$DelayedNode.run(FolderChildren.java:425)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2032)



Tom Verhage added a comment - 06/Feb/13 10:33 AM

Tested, works correct in 13.01