Issue 1:
Hi ,

earlier(a week before) I just used to follow http://www.lindstromhenrik.com/debugging-elasticsearch-in-eclipse/ and I was able to start ElasticsearchF.java and was able to even put a break point. But recently I am not able to do so . It gives a lot of errors like

java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: sun.misc.Launcher$AppClassLoader@c387f44
at org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:210)
at org.joda.time.tz.ZoneInfoProvider.(ZoneInfoProvider.java:127)
at org.joda.time.tz.ZoneInfoProvider.(ZoneInfoProvider.java:86)
at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:514)
at org.joda.time.DateTimeZone.getProvider(DateTimeZone.java:413)
at org.joda.time.DateTimeZone.forID(DateTimeZone.java:216)
at org.joda.time.DateTimeZone.getDefault(DateTimeZone.java:151)
at org.joda.time.chrono.ISOChronology.getInstance(ISOChronology.java:79)
at org.joda.time.DateTimeUtils.getChronology(DateTimeUtils.java:266)
at org.joda.time.format.DateTimeFormatter.selectChronology(DateTimeFormatter.java:968)
at org.joda.time.format.DateTimeFormatter.printTo(DateTimeFormatter.java:672)
at org.joda.time.format.DateTimeFormatter.printTo(DateTimeFormatter.java:560)
at org.joda.time.format.DateTimeFormatter.print(DateTimeFormatter.java:644)
at org.elasticsearch.Build.(Build.java:51)
at org.elasticsearch.node.Node.(Node.java:136)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:157)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:177)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:272)
at org.elasticsearch.bootstrap.ElasticsearchF.main(ElasticsearchF.java:30)
Exception in thread "main" java.lang.IllegalStateException: java.nio.file.NoSuchFileException: /home/harish/Documents/code/elasticsearch/es/fork-new/elasticsearch/plugins/analysis-icu/plugin-descriptor.properties
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:111)
at org.elasticsearch.node.Node.(Node.java:146)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:157)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:177)
at org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:272)
at org.elasticsearch.bootstrap.ElasticsearchF.main(ElasticsearchF.java:30)
Caused by: java.nio.file.NoSuchFileException: /home/harish/Documents/code/elasticsearch/es/fork-new/elasticsearch/plugins/analysis-icu/plugin-descriptor.properties
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:361)
at java.nio.file.Files.newByteChannel(Files.java:407)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
at java.nio.file.Files.newInputStream(Files.java:152)
at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:86)
at org.elasticsearch.plugins.PluginsService.getPluginBundles(PluginsService.java:318)
at org.elasticsearch.plugins.PluginsService.(PluginsService.java:108)
... 5 more

also error indicates it is looking for elasticsearch/plugins/analysis-icu/plugin-descriptor.properties

also saw the code here in https://github.com/elastic/elasticsearch/blob/master/core/src/main/java/org/elasticsearch/plugins/PluginInfo.java#L82-L87

and there is a check for plugin descriptor. But earlier it used to work without myself having to do anything. Did anything change in between to include plugins install and hence it is looking for plugin descriptor file ?

Issue 2:
This shape is generated from PostGIS using st_asgeojson(st_makevalid(geom)) to ensure it's a valid geometry. The SRID is 4326. Many other geometries using the same technique are loaded just fine.

Here's a gist with the geojson and exception (and the raw geojson).

org.elasticsearch.index.mapper.MapperParsingException: failed to parse [shape_]
at org.elasticsearch.index.mapper.geo.GeoShapeFieldMapper.parse(GeoShapeFieldMapper.java:249)
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(ObjectMapper.java:538)
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:480)
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:515)
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:462)
at org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:394)
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardIndexOperation(TransportShardBulkAction.java:413)
at org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:155)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:534)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:433)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: com.spatial4j.core.exception.InvalidShapeException: Too few distinct points in geometry component at or near point (-71.1651, 42.1832, NaN)
at com.spatial4j.core.shape.jts.JtsGeometry.validate(JtsGeometry.java:125)
at org.elasticsearch.common.geo.builders.ShapeBuilder.jtsGeometry(ShapeBuilder.java:87)
at org.elasticsearch.common.geo.builders.MultiPolygonBuilder.build(MultiPolygonBuilder.java:76)
at org.elasticsearch.index.mapper.geo.GeoShapeFieldMapper.parse(GeoShapeFieldMapper.java:234)
... 12 more