Topic: Internal compiler error: java.lang.ArrayIndexOutOfBoundsException: 0.

  Print this page

1.Internal compiler error: java.lang.ArrayIndexOutOfBoundsException: 0. Copy to clipboard
Posted by: xiaoshitou
Posted on: 2005-05-11 10:32

我用的是jb9,在编译java程序的时候,出现Internal compiler error: java.lang.ArrayIndexOutOfBoundsException: 0.
错误,而且不止一个程序出现这种错误,好多程序都出现同样的错误
请问各位有没有遇到过这样的问题?

2.Re:Internal compiler error: java.lang.ArrayIndexOutOfBoundsException: 0. [Re: xiaoshitou] Copy to clipboard
Posted by: lele
Posted on: 2005-05-11 13:52

程序里有错误啊,数组越界

3.Re:Internal compiler error: java.lang.ArrayIndexOutOfBoundsException: 0. [Re: xiaoshitou] Copy to clipboard
Posted by: xiaoshitou
Posted on: 2005-05-11 15:40

但是同样的程序我用jdk编译,运行都没有错误的啊

4.Re:Internal compiler error: java.lang.ArrayIndexOutOfBoundsException: 0. [Re: xiaoshitou] Copy to clipboard
Posted by: xiaoshitou
Posted on: 2005-05-11 17:20

就是这个程序,在make的时候出现Internal compiler error: java.lang.ArrayIndexOutOfBoundsException: 0.
该程序所导入的包我已经测试过了,都没有问题的

package src.gui.boundaryvisualizer;

import src.core.*;

public interface DataGenerator {

void buildGenerator(Instances inputInstances) throws Exception;

double [][] generateInstances(int [] indices) throws Exception;

double [] getWeights() throws Exception;

void setWeightingDimensions(boolean [] dimensions);

void setWeightingValues(double [] vals);

int getNumGeneratingModels();

void setSeed(int seed);
}


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923