Problems while generating the KML file

  • Asked
  • Active
  • Viewed 4365 times
0

Hi, I am having problems when uploading my .csv file. I am getting the following message: java.lang.NullPointerException

it seems to be something to do with my 1st row... 1 = [1, "Ycoordinate", "Xcoordinate"]</html>

Any thoughts? Thanks in advance

0

Accepted answer

Ciao Joana,

To clarify the question a bit:

  • Where are you uploading the CSV to?

  • Can you describe exactly what steps you are following?

  • Could you send the few first lines of the CSV?

  • Could you also post the last exception messages in your log ( Collect Earth menu Help->Open Application Log File )

Thanks!

0

Accepted answer

Hi,

thanks for trying to help. I have a CSV file that follows your template "simple_ipcc_survey" which I am trying to use in Collect Earth by using the project "simple_ipcc_survey" and my CSV (by selecting the path to my CSV in the sheet "Sample data").

  • First lines of the CSV:

id,YCoordinate,XCoordinate 1,12.3893434200,-14.8949462500 2,12.3897688800,-14.8996870100

  • last exception messages in my log:

org.openforis.collect.earth.sampler.processor.AbstractPolygonKmlGenerator.getTemplateData(AbstractPolygonKmlGenerator.java:125) ~[collect-earth-sampler-1.6.27.jar:?]

In the meantime I did some random things:

  • reboot my computer (still having the same error after this);
  • select a different project (no error there);
  • select back the "simple_ipcc_survey" (still no error);
  • choose the path to my CSV (wohooo! It worked)

It seemed completely random, so I don't really know what was wrong, but the thing is it is working now. So thanks again, but I don't think you need to bother with this anymore :)

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Tip: type a few words from the error message, or put a tag in [brackets] to look only there.

Menu

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.