java.lang.RuntimeException

datasets.xml error on or before line #1016: Internal error in TableWriter: for column#8=profile_id, newType=int != oldType=short.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web35559

  • via GitHub by lukecampbell
    , 6 months ago
    datasets.xml error on or before line #1016: Internal error in TableWriter: for column#8=profile_id, newType=int != oldType=short.
  • Internal error evaluating template at line 1 in module
  • Unable to create adapt or</description> <source>[unknown source]</source> <line>[unknown line]</line> <column>[unknown column]</column> <prescription>An unexpected error occurred. Please contact support@bea.com for f urther assistance.</prescription> </error> ]]></detail></xml-fragment>
  • Stack trace

    • java.lang.RuntimeException: datasets.xml error on or before line #1016: Internal error in TableWriter: for column#8=profile_id, newType=int != oldType=short. at gov.noaa.pfel.erddap.dataset.EDD.fromXml(EDD.java:373) at gov.noaa.pfel.erddap.LoadDatasets.run(LoadDatasets.java:304) Caused by: java.lang.RuntimeException: Internal error in TableWriter: for column#8=profile_id, newType=int != oldType=short. at gov.noaa.pfel.erddap.dataset.TableWriter.ensureCompatible(TableWriter.java:104) at gov.noaa.pfel.erddap.dataset.TableWriterAll.writeSome(TableWriterAll.java:107) at gov.noaa.pfel.erddap.dataset.TableWriterDistinct.writeSome(TableWriterDistinct.java:83) at gov.noaa.pfel.erddap.dataset.EDDTableFromFiles.getDataForDapQuery(EDDTableFromFiles.java:2423) at gov.noaa.pfel.erddap.dataset.EDDTable.subsetVariablesDataTable(EDDTable.java:10123) at gov.noaa.pfel.erddap.dataset.EDDTable.distinctSubsetVariablesDataTable(EDDTable.java:10187) at gov.noaa.pfel.erddap.dataset.EDDTable.ensureValid(EDDTable.java:551) at gov.noaa.pfel.erddap.dataset.EDDTableFromFiles.<init>(EDDTableFromFiles.java:1663) at gov.noaa.pfel.erddap.dataset.EDDTableFromNcFiles.<init>(EDDTableFromNcFiles.java:112) at gov.noaa.pfel.erddap.dataset.EDDTableFromFiles.fromXml(EDDTableFromFiles.java:239) at gov.noaa.pfel.erddap.dataset.EDD.fromXml(EDD.java:361) ... 1 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.