Menu

#3 Bad classpath produces NullPointerException

open
nobody
None
5
2004-12-07
2004-12-07
Anonymous
No

On Solaris, if I give pack a classpath attribute that
contains a ; right before a :, e.g.:
path1;:path2
pack with throw a NullPointerException. It's a very
difficult
error to spot, and it would be helpful if pack could
put out
an error message.

On Windows NT, having ;; in the path is okay.
On Solaris, having :: in the path is okay.

I am using pack version 1.6.

Thanks,
--Paul Lynch (eph1v3t8@mailblocks.com)

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I should have stated at the beginning that this is a problem
    with
    the pack task for ant.
    --Paul Lynch

     
  • Cristiano Sadun

    Cristiano Sadun - 2005-01-05

    Logged In: YES
    user_id=15880

    This looks like a bug in the DynamicClassLoader. I'm checking
    it out.

     

Log in to post a comment.