Results 1 to 2 of 2
  1. #1
    gwithey is offline Member
    Join Date
    Mar 2009
    Posts
    18
    Rep Power
    0

    Question Nextbeans exception

    I goit this exception when i treid to run a file.

    its complaining about a directory that i was not using chappter2projects

    Anyone know what it is saying or how to fix this

    init:
    deps-jar:
    compile-single:
    run-single:
    F:\UWE\Program Development\IPD\IPD\nbproject\build-impl.xml:292: E:\UWE\Program Development\IPD\IPD\src\chapter3Projects is not a valid directory
    at org.apache.tools.ant.taskdefs.Java.setupWorkingDir (Java.java:848)
    at org.apache.tools.ant.taskdefs.Java.setupExecutable (Java.java:818)
    at org.apache.tools.ant.taskdefs.Java.fork(Java.java: 781)
    at org.apache.tools.ant.taskdefs.Java.executeJava(Jav a.java:211)
    at org.apache.tools.ant.taskdefs.Java.executeJava(Jav a.java:132)
    at org.apache.tools.ant.taskdefs.Java.execute(Java.ja va:105)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:288)
    at sun.reflect.GeneratedMethodAccessor170.invoke(Unkn own Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(S equential.java:62)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:288)
    at sun.reflect.GeneratedMethodAccessor170.invoke(Unkn own Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.MacroInstance.execut e(MacroInstance.java:394)
    at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:288)
    at sun.reflect.GeneratedMethodAccessor170.invoke(Unkn own Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:35 7)
    at org.apache.tools.ant.Target.performTasks(Target.ja va:385)
    at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project .java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Projec t.java:1189)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl .run(BridgeImpl.java:273)
    at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java:499)
    at org.netbeans.core.execution.RunClassThread.run(Run ClassThread.java:151)
    Java Result: -1
    BUILD SUCCESSFUL (total time: 0 seconds)
    -Long time no c-
    -:eek:-

  2. #2
    gwithey is offline Member
    Join Date
    Mar 2009
    Posts
    18
    Rep Power
    0

    Default

    Dont worry it was a simple case of running the project form the wrong directory as i was running it form my pen drive.
    -Long time no c-
    -:eek:-

Similar Threads

  1. Help with Exception
    By bozovilla in forum New To Java
    Replies: 2
    Last Post: 10-19-2008, 05:19 AM
  2. exception
    By thamizhisai in forum Advanced Java
    Replies: 9
    Last Post: 05-30-2008, 08:47 AM
  3. why this exception
    By payal.mitra86 in forum JDBC
    Replies: 1
    Last Post: 05-21-2008, 10:28 PM
  4. Where does the exception go?
    By aytidaalkuhs in forum New To Java
    Replies: 3
    Last Post: 04-07-2008, 02:24 PM
  5. Replies: 1
    Last Post: 03-08-2008, 06:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •