Java Question Problems with eclipse when creating xml

PABLO2013

Well-Known Member
Licensed User
Longtime User
Greetings wanted to know what can be my problem, because the code in eclipse does not have any error, there is expand the library with more classes but fails to generate javadoc, thanks. Icompile it in JavaSE 1.8....




B4X:
Working with class: cr.co.pat.b4a.jts.geom.Point
java.lang.ArrayIndexOutOfBoundsException: 0
    at BADoclet.writeClass(BADoclet.java:96)
    at BADoclet.start(BADoclet.java:354)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:310)
    at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:189)
    at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:366)
    at com.sun.tools.javadoc.Start.begin(Start.java:219)
    at com.sun.tools.javadoc.Start.begin(Start.java:205)
    at com.sun.tools.javadoc.Main.execute(Main.java:64)
    at com.sun.tools.javadoc.Main.main(Main.java:54)





B4X:
import anywheresoftware.b4a.AbsObjectWrapper;
import anywheresoftware.b4a.BA.ShortName;
import com.vividsolutions.jts.geom.CoordinateFilter;
import com.vividsolutions.jts.geom.CoordinateSequenceFilter;
import com.vividsolutions.jts.geom.GeometryComponentFilter;
import com.vividsolutions.jts.geom.GeometryFilter;

@ShortName("JTS_Point")
public class Point extends AbsObjectWrapper {
   public Point() {
   }

   public Point(com.vividsolutions.jts.geom.Point pPoint) {
      this.setObject(pPoint);
   }

   public com.vividsolutions.jts.geom.Coordinate GetCoordinate() {
      return new com.vividsolutions.jts.geom.Coordinate(((com.vividsolutions.jts.geom.Point)this.getObject()).getCoordinate());
   }

   public int GetDimension() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).getDimension();
   }

   public double getX() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).getX();
   }

   public double getY() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).getY();
   }

   public boolean within(com.vividsolutions.jts.geom.Geometry g) {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).within(g);
   }

   public com.vividsolutions.jts.geom.Geometry buffer(double distance) {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).buffer(distance);
   }

   public com.vividsolutions.jts.geom.Geometry union(com.vividsolutions.jts.geom.Geometry other) {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).union(other);
   }

   public boolean touches(com.vividsolutions.jts.geom.Geometry g) {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).touches(g);
   }

   public String toText() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).toText();
   }

   public String toString() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).toString();
   }

   public com.vividsolutions.jts.geom.Geometry symDifference(com.vividsolutions.jts.geom.Geometry other) {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).symDifference(other);
   }

   public void setSRID(int SRID) {
      ((com.vividsolutions.jts.geom.Point)this.getObject()).setSRID(SRID);
   }

   public boolean overlaps(com.vividsolutions.jts.geom.Geometry g) {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).overlaps(g);
   }

   public void normalize() {
      ((com.vividsolutions.jts.geom.Point)this.getObject()).normalize();
   }

   public boolean isEmpty() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).isEmpty();
   }

   public boolean isSimple() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).isSimple();
   }

   public int getDimension() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).getDimension();
   }

   public int getBoundaryDimension() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).getBoundaryDimension();
   }

   public com.vividsolutions.jts.geom.Coordinate getCoordinate() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).getCoordinate();
   }

   public String getGeometryType() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).getGeometryType();
   }

   public com.vividsolutions.jts.geom.Geometry getBoundary() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).getBoundary();
   }

   public boolean equalsExact(com.vividsolutions.jts.geom.Geometry other, double tolerance) {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).equalsExact(other, tolerance);
   }

   public void apply(CoordinateFilter filter) {
      ((com.vividsolutions.jts.geom.Point)this.getObject()).apply(filter);
   }

   public void apply(CoordinateSequenceFilter filter) {
      ((com.vividsolutions.jts.geom.Point)this.getObject()).apply(filter);
   }

   public void apply(GeometryFilter filter) {
      ((com.vividsolutions.jts.geom.Point)this.getObject()).apply(filter);
   }

   public void apply(GeometryComponentFilter filter) {
      ((com.vividsolutions.jts.geom.Point)this.getObject()).apply(filter);
   }

   public Object clone() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).clone();
   }

   public com.vividsolutions.jts.geom.Geometry reverse() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).reverse();
   }

   public com.vividsolutions.jts.geom.CoordinateSequence getCoordinateSequence() {
      return ((com.vividsolutions.jts.geom.Point)this.getObject()).getCoordinateSequence();
   }
 

PABLO2013

Well-Known Member
Licensed User
Longtime User
Thank you very much Don manfred, I have done what you say but nothing, I also tell you that my library already installed in b4a and works well, is the same code one that I want to compile again, I have not changed any code but I can not do it because the previous mistakes (#1)... as I see something happens with BADoclet .... I think, thanks
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…