Bug 104 : sun.dc.pr.PRException: endPath: bad path
Last modified: 2005-07-27 20:26




Status:
ASSIGNED
Resolution:
-
Priority:
P4
Severity:
normal

 

Reporter:
fry
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2005-07-27 20:26
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1113990788

quasimondo:

I searched google for this bug and it seems to be a Java-internal thing
that occurs when calling line() with huge values or NaN or infinity and
Antialiasing turned on - but that's a bit speculative.

Here's one report that might be related to this:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4696289

On another post I read that it also might be caused by a bug in the
Math.round() method:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4755500

Well it sounds nasty and is quite annoying because I always have to
CTRL-ATL-DEL and kill the java thread.

simplest example to reproduce:

void draw(){
smooth();
line(0,0,10000000,10);
}

may need to catch these before they get to java2d first...