agrosense
  1. agrosense
  2. AGROSENSE-1397

Drag sensordata to map first time (cropcircle)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13.01
    • Component/s: Sensor
    • Labels:
      None

      Description

      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)

        Activity

        Hide
        Tom Verhage added a comment -

        Tested, works correct in 13.01

        Show
        Tom Verhage added a comment - Tested, works correct in 13.01

          People

          • Assignee:
            Tom Verhage
            Reporter:
            Tom Verhage
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: