• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Project cannot "Clean and Build" sucessfully

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi great forum, I have been using NetBeans to build successfully but recently i encountered a disappointing problem. That is, my project failed to build. I encountered the following error messages on the console of NetBeans 8.0:

"ant -f C:\\Users\\joe\\Documents\\NetBeansProjects\\quickScores -Dnb.internal.action.name=rebuild clean jar
init:
deps-clean:
Updating property file: C:\Users\joe\Documents\NetBeansProjects\quickScores\build\built-clean.properties
Deleting directory C:\Users\joe\Documents\NetBeansProjects\quickScores\build
clean:
init:
deps-jar:
Created dir: C:\Users\joe\Documents\NetBeansProjects\quickScores\build
Updating property file: C:\Users\joe\Documents\NetBeansProjects\quickScores\build\built-jar.properties
Created dir: C:\Users\joe\Documents\NetBeansProjects\quickScores\build\classes
Created dir: C:\Users\joe\Documents\NetBeansProjects\quickScores\build\empty
Created dir: C:\Users\joe\Documents\NetBeansProjects\quickScores\build\generated-sources\ap-source-output
Compiling 2 source files to C:\Users\joe\Documents\NetBeansProjects\quickScores\build\classes
Copying 2 files to C:\Users\joe\Documents\NetBeansProjects\quickScores\build\classes
compile:
Created dir: C:\Users\joe\Documents\NetBeansProjects\quickScores\dist
Copying 1 file to C:\Users\joe\Documents\NetBeansProjects\quickScores\build
C:\Users\joe\Documents\NetBeansProjects\quickScores\nbproject\build-impl.xml:975: Existing manifest C:\Users\joe\Documents\NetBeansProjects\quickScores\build\null936298154 is invalid
BUILD FAILED (total time: 1 second) "

I have checked the absolute directory but seemed not to dictate any meaningful problem. May be the problem is dumb. Please, help me fix the unexpected problems. I trust this beautiful forum.
 
Sheriff
Posts: 22784
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Joe Don wrote:C:\Users\joe\Documents\NetBeansProjects\quickScores\build\null936298154


Does that null belong there? Or is some property not resolved correctly?
 
Joe Don
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The "null" actually belongs there. What I have copied here is EXACTLY what error information I have on the NetBeans console.
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It "belongs there" in that it is in the error message. It doesn't belong there in that it is likely why the code is failing. The question is how to figure out what isn't set that is resolving to null.
 
Joe Don
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have judiciously tried to trace the factor leading to this mess but I couldn't figure it out. Any goodly, technically thought suggestions would be highly appreciated. I am already on cross road. More people, please, contribute.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I agree that it's worth checking out where that path with the "null" comes from. Apparently it's used (and failing) in line 975 of build-impl.xml, so that gives you a starting point.
 
Joe Don
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Resolved! I had two already existing manifest files for splash-screen. I had to delete one and there it went well.
 
Jeanne Boyarsky
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wouldn't have guessed that. Thanks for sharing the solution!
 
Joe Don
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome.
 
reply
    Bookmark Topic Watch Topic
  • New Topic