奇怪的Java异常名称

use*_*507 0 java exception

我做了一个System.out.print,其对象为null,我得到了这个:

550270261027054028026002805302902590290520300258030051031025703105003202560320
490330255033048034025403404703502530350460360252036045037025103704403802500380
43039024903904204002480Exception
Run Code Online (Sandbox Code Playgroud)

我试过谷歌搜索它,但例外的名称太长了.

有谁知道这个例外意味着什么?

for (int i = bulletList.size(); i > 0; i--) {
        final Bullet b = bulletList.get(i - 1);/* the bullet is just a class containing it's image, its position and its rectangle and handling its movement*/
        b.r = new Rectangle(b.x, b.y, 34, 20);
        for (i = obsticalList.size(); i > 0; i--) {
            final Obstical o = obsticalList.get(i - 1);//Obsical class is like the bullet class but for stationary thing
            System.out.print(o.r.x);
            System.out.print(b.r.x);//This is where I get the exception
        }

    }



3202452730245310255272025530026527102652902752700Exception in thread "Thread-3"
    at StartingClass.checkCollision(StartingClass.java:175)
    at StartingClass.run(StartingClass.java:107)
    at java.lang.Thread.run(Unknown Source)
Run Code Online (Sandbox Code Playgroud)

eri*_*son 5

数字不是例外名称的一部分.您的代码是打印数字,没有换行到标准输出.

默认异常处理程序将堆栈跟踪打印到标准错误.来自标准输出和标准错误的消息在控制台上交错,因此您看到的数字来自您的代码,"异常"是堆栈跟踪的片段.

最有可能的是,如果你在控制台中进一步回顾,你会看到异常名称的开头.您指定的行可能抛出的唯一运行时异常是a NullPointerException,if bb.r为null; 但是,鉴于您的代码,它看起来不可能.也许异常是从另一条线上抛出的.行号和堆栈跟踪可以帮助确定这一点,但也许它NullPointerException来自前一行.