What causes NullPointerException at CopyLibletsTask.execute when specifying libarary jar

"the99nomad" <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
Hi all,

I'm getting a weird error that I cannot figure out.  I have a project I'm working on and when I specify a library jar I wrote (well, I hacked the Dallas 1-wire library to JavaME),  I get this error:

Expanding: C:\SAVE\Home\Development\NetbeansProjects\J2ME_OWLib\dist\J2ME_OWLib.jar into C:\SAVE\Home\Development\NetbeansProjects\ADS1115_Test\build\fatjar
C:\SAVE\Home\Development\NetbeansProjects\ADS1115_Test\nbproject\build-impl.xml:468: 
java.lang.NullPointerException
	at org.netbeans.modules.j2me.common.ant.CopyLibletsTask.execute(CopyLibletsTask.java:93)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor161.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:435)
	at org.apache.tools.ant.Target.performTasks(Target.java:456)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
	at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
	at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 0 seconds)

If I remove that library, it builds just fine.  I'm stumped!!  What is causing the problem?

Bruce
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.