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 236899 - 7.3 and 7.3.1 Creating a new PHP project with existing sources ALWAYS hangs at 40%
Summary: 7.3 and 7.3.1 Creating a new PHP project with existing sources ALWAYS hangs a...
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3.1
Hardware: Macintosh Mac OS X
: P1 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-08 19:31 UTC by davemusicnet
Modified: 2013-10-28 14:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NetBeans hangs at 40% (71.97 KB, image/png)
2013-10-08 19:31 UTC, davemusicnet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davemusicnet 2013-10-08 19:31:36 UTC
Created attachment 140907 [details]
NetBeans hangs at 40%

This is similar to bug numbers 140346 and 217861. Both of those are marked as "verified fixed", but I can reproduce this every single time I try to create a new PHP project with existing sources. System details below.

Repro steps:
1. Open NetBeans and try to create a new PHP project with existing sources.
2. Navigate to project source folder. For example, /opt/dev/my_project
3. Leave PHP version as 5.3 and the default encoding as UTF-8. Also, leave "Put Netbeans metadata into a separate directory" unchecked.
4. Click finish.

Note that NetBeans hangs at "Creating new project" with the progress meter at 40%. See the screenshot. At this point I must force NetBeans to close. This happens to me with both 7.3 and 7.3.1. After closing NetBeans, there is a nbproject folder in the project source directory, but it contains only a project.xml file which itself conatins a few lines:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
    <type>org.netbeans.modules.php.project</type>
    <configuration/>
</project>



System details:
NetBeans IDE 7.3.1 (Build 201306052037)
NetBeans IDE 7.3 (Build 201306052037)
Mac OS X 10.7.5
PHP 5.3.15
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b12)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
Comment 1 davemusicnet 2013-10-08 19:36:05 UTC
Also, if I delete the nbproject folder and try to create the project again, NetBeans will hang again.
Comment 2 Tomas Mysik 2013-10-09 05:43:03 UTC
Please, try to use:
- NetBeans 7.4 (currently RC2 available);
- a clean userdir [1].

If any of those does not help, reproduce your problem and when the IDE hangs, create a thread dump [2], reopen this issue and attach it here.

Thanks.
[1] http://wiki.netbeans.org/FaqAlternateUserdir
[2] http://wiki.netbeans.org/GenerateThreadDump
Comment 3 JamesRhew 2013-10-28 14:01:40 UTC
I was all set to re-open this bug when the project loaded. It displayed "40%" for several minutes before continuing. I'm assuming that this is has something to to with the project size and the fact that it resides on a slow NFS mount.

Product Version: NetBeans IDE 7.4 (Build 201310111528)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\rhew\AppData\Roaming\NetBeans\7.4
Cache directory: C:\Users\rhew\AppData\Local\NetBeans\Cache\7.4