This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 126596 - NullPointerException: The lib parameter cannot be null
Summary: NullPointerException: The lib parameter cannot be null
Status: REOPENED
Alias: None
Product: contrib
Classification: Unclassified
Component: Scala (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: _ dcaoyuan
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-04 09:11 UTC by gnufied
Modified: 2008-08-11 07:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 24367


Attachments
stacktrace (2.81 KB, text/plain)
2008-02-04 09:12 UTC, gnufied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gnufied 2008-02-04 09:11:57 UTC
Build: NetBeans IDE Dev (Build 200802040003)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Linux, 2.6.22-14-generic, i386

User Comments:
Comment 1 gnufied 2008-02-04 09:12:07 UTC
Created attachment 55979 [details]
stacktrace
Comment 2 Lukas Hasik 2008-02-04 12:41:08 UTC
java.lang.NullPointerException: The lib parameter cannot be null
        at org.openide.util.Parameters.notNull(Parameters.java:86)
        at org.netbeans.spi.project.support.ant.ReferenceHelper.copyLibrary(ReferenceHelper.java:1497)
        at org.netbeans.modules.scala.project.J2SEProjectGenerator.copyRequiredLibraries(J2SEProjectGenerator.java:327)

reassigning to projects, however it is scala.project bug probably... (who's responsible for scala?)
Comment 3 Milos Kleint 2008-02-04 13:30:23 UTC
bug in scala support. Not sure what the component is, reassigning to 3rd party.
Comment 4 _ dcaoyuan 2008-02-05 05:19:37 UTC
Can't reproduce
Comment 5 _ dcaoyuan 2008-02-25 19:29:24 UTC
No report any more
Comment 6 alaw94781 2008-05-27 19:41:04 UTC
I seem to be seeing the same issue.  My environment is as follows:

Netbeans: Product Version: NetBeans IDE Dev (Build 200805221203)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)
Scala: 2.7.1.Final (zip archive)

I set up my environment variable as detailed in the wiki (http://wiki.netbeans.org/Scala)

When I create a new project > Scala > Scala Application I get the exact same error as above.

I see that the diagnosis was that the problem was with Scala itself.  I am new to scala but is there anything I can try
from the command line to see if this is the case?