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 227974 - Unable to run project
Summary: Unable to run project
Status: RESOLVED INCOMPLETE
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 7.3
Hardware: Macintosh Mac OS X
: P1 normal with 1 vote (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 02:30 UTC by aaldhami
Modified: 2013-03-29 15:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file. (71.11 KB, text/plain)
2013-03-28 06:51 UTC, aaldhami
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aaldhami 2013-03-27 02:30:52 UTC
I've been trying to create a new project but I noticed that when I create new project it doesn't create the package and no .java file(s) in the project directory. I've tried to restart the IDE, reboot the machine many times and the same happens. The project compiles and everything goes well, but it doesn't run compalining that NetBeans can't find the main class file!

I've just started to see this problem yesterday. 


Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Mac OS X version 10.8.3 running on x86_64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Comment 1 Milos Kleint 2013-03-28 06:46:37 UTC
what have you done before this started happening? eg. in issue 227448 the reporter has a similar problem caused by wrong editing of file template.

I will need more details about the problem at hand.
1. what project template have you used? do other project templates fail as well?
2. please attache the IDE log file
3.anything else that might be helpful
Comment 2 aaldhami 2013-03-28 06:51:49 UTC
Created attachment 133156 [details]
IDE log file.
Comment 3 aaldhami 2013-03-28 06:55:32 UTC
I did not change anything at all. I just created a new project the problem started to appear. Few things also I noticed:

1- When I create a new project on another directory (e.g. Desktop) the problem disappear!
2- Under the "Source Packages" of the project, I don't see the java file (main class file).


I'm using Java Application template. 

I tried to clean the cache of the IDE but nothing has changed. I also tried to delete the IDE completely and re-install it again (did this three times!) but no luck also.
Comment 4 Milos Kleint 2013-03-28 07:08:07 UTC
unfortunately not much relevant information in the log..

what's different in the failing location vs. Desktop?

Is the failing location wrapped in another project?
in 
/Users/abdullah/Dropbox/SFU/research/MarkovMRK/src/markovmrk 
MarkovMRK is the project directory and markovmrk is the package?
Comment 5 aaldhami 2013-03-28 07:17:02 UTC
Nothing really different except the location. I've also /Users/Abdullah/NetBeansProjects directory and is failing with the same issue.

Guess what? I just resolved the problem!!!

I closed the project from NetBeans; renamed the directory "research" to "research_old"; renamed it back to research; restarted the project and it just worked fine!!

Any explanation?!
Comment 6 Milos Kleint 2013-03-28 07:26:57 UTC
(In reply to comment #5)
> Nothing really different except the location. I've also
> /Users/Abdullah/NetBeansProjects directory and is failing with the same issue.
> 
> Guess what? I just resolved the problem!!!
> 
> I closed the project from NetBeans; renamed the directory "research" to
> "research_old"; renamed it back to research; restarted the project and it just
> worked fine!!
> 
> Any explanation?!

Not really, is that regular mac flesystem, no symlinks?

I would have to reproduce the issue locally first to really debug the problem and see what is causing what,
Comment 7 aaldhami 2013-03-28 07:28:20 UTC
Yes, it's a regular Mac filesystem!
Comment 8 Milos Kleint 2013-03-29 15:18:51 UTC
user appears to resolve his problem however the issue at hand has not been understood. closing as incomplete, plese reopen with steps to reproduce and/or a sample project demostrating the problem.