First off this is for my little server, and i am having a problem.
this is saying im missing a statment but i dont see how. if you can take 5mins to look over this and tell me what you see i did wrong, it will make my day.
look for where i said i got the error its on line 41, starting at "public class animable extends nodesub."

public class Animable extends NodeSub


    public void method443(int i, int j, int k, int l, int i1, int j1, int k1, 
            int l1, int i2)
    {
    //    0    0:aload_0         
    //    1    1:invokevirtual   #1   <Method Model getRotatedModel()>
    //    2    4:astore          10
    //    3    6:aload           10
    //    4    8:ifnull          40
    //    5   11:aload_0         
    //    6   12:aload           10
    //    7   14:getfield        #2   <Field int Model.modelHeight>
    //    8   17:putfield        #3   <Field int modelHeight>
    //    9   20:aload           10
    //   10   22:iload_1         
    //   11   23:iload_2         
    //   12   24:iload_3         
    //   13   25:iload           4
    //   14   27:iload           5
    //   15   29:iload           6
    //   16   31:iload           7
    //   17   33:iload           8
    //   18   35:iload           9
    //   19   37:invokevirtual   #4   <Method void Model.method443(int, int, int, int, int, int, int, int, int)>
    //   20   40:return          
    }

    Model getRotatedModel()
    {
    //    0    0:aconst_null     
    //    1    1:return   
      } <-------- this is where i  get my error ( "missing a return statement } ")

    Animable()
    {
    //    0    0:aload_0         
    //    1    1:invokespecial   #5   <Method void NodeSub()>
    //    2    4:aload_0         
    //    3    5:sipush          1000
    //    4    8:putfield        #3   <Field int modelHeight>
    //    5   11:return          
    }

    Class33 aClass33Array1425[];
    public int modelHeight;
}

Recommended Answers

All 2 Replies

sorry its on line 34!

You declared getRotatedModel as returning a object of class Model, but the method does not return anything

commented: :) +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.