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 210759 - cannot add new files or packages to project
Summary: cannot add new files or packages to project
Status: RESOLVED WORKSFORME
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
: 212807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-04-05 10:53 UTC by ilvidel
Modified: 2012-05-23 07:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Netbeans log (76.13 KB, text/plain)
2012-04-06 10:47 UTC, ilvidel
Details
"New Java Class" dialog (broken) (39.79 KB, image/png)
2012-04-06 10:48 UTC, ilvidel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ilvidel 2012-04-05 10:53:06 UTC
When I try to add a new class or a new package to a project, a dialog appears. After entering the information, I click the "Finish" button, but the dialog remains on screen, with its buttons disabled (greyed out) except for the Help button, and nothing ever happens. I have to close it by pressing the ESC key.
Comment 1 ilvidel 2012-04-05 10:55:37 UTC
I found and old, abandoned bug, number 169753 which look exactly as this one, but I haven't used the visual editor.
Comment 2 Petr Somol 2012-04-05 11:52:34 UTC
Thanks for the report. However it is not clear under what circumstances the problem did appear (e.g., is your project a Java project ?). Please provide more info, as suggested at http://wiki.netbeans.org/IssuezillaRules
Comment 3 Marian Mirilovic 2012-04-05 12:06:34 UTC
(In reply to comment #2)
> Thanks for the report. However it is not clear under what circumstances the
> problem did appear (e.g., is your project a Java project ?). Please provide
> more info, as suggested at http://wiki.netbeans.org/IssuezillaRules

... and reopen, thanks in advance.
Comment 4 ilvidel 2012-04-05 14:13:23 UTC
Sorry for the lack of information.

This is the info from the Help->About dialog:

Product Version: NetBeans IDE 7.0.1 (Build 20120219-unknown-revn)
Java: 1.6.0_24; OpenJDK Client VM 20.0-b12
System: Linux version 3.2.0-2-686-pae running on i386; UTF-8; es_ES (nb)
Userdir: /home/nacho/.netbeans/7.0

I did some more tests, and I found the same problem when creating a new project (by the way: yes, it's a Java project). But I realized that it only happens when working on a specific directory. I'm trying to use /home/nacho/repos/vstat/trunk/, which is under subversion control. Perhaps this has something to do with the error.

If I use /tmp or any other directory within my home directory, it works fine.


I'm running Debian SID, with Gnome3 and:

netbeans   7.0.1+dfsg1-5
subversion 1.6.17dfsg-3

Thank you.
Comment 5 Petr Somol 2012-04-06 07:41:10 UTC
reassigning to version control for evaluation
Comment 6 Ondrej Vrabec 2012-04-06 08:24:16 UTC
Please add a screenshot of the corrupted dialog and attach the full messages.log (~/.netbeans/7.0.1/var/log/messages.log). Also i suggest you download and try NetBeans 7.1.1 and reopen if reproducible there.
Comment 7 ilvidel 2012-04-06 10:47:11 UTC
Created attachment 117935 [details]
Netbeans log

Attatching messages.log as requested.
Comment 8 ilvidel 2012-04-06 10:48:16 UTC
Created attachment 117936 [details]
"New Java Class" dialog (broken)

This is the "New Java Class" dialog after I press the Finish button.
Comment 9 ilvidel 2012-04-06 10:49:57 UTC
I downloaded Netbeans 7.1.1 as suggested, and the error does not occur there.
Comment 10 Ondrej Vrabec 2012-04-06 10:59:30 UTC
I reviewed the messages log, it's indeed caused by subversion, the log is full of:
> Caused: java.lang.ClassNotFoundException: org.tigris.subversion.javahl.SVNClientInterface starting from ModuleCL@138c63[org.netbeans.libs.svnClientAdapter]
What surprises me is the number of the build:
> NetBeans IDE 7.0.1 (Build 20120219-unknown-revn)
Mine 7.0.1 build comes from 2011/07/28:
> NetBeans IDE 7.0.1 (Build 201107282000) (#370b28369872)
The question is where you got and where you downloaded the NB installer from. But clearly the installation is corrupted. I suggest you either reinstall with the installer from http://netbeans.org/downloads/7.0.1/ or continue using 7.1.1
Comment 11 ilvidel 2012-04-07 09:06:22 UTC
My 7.0.1 installation comes from a standard Debian package, running:

# apt-get install netbeans

in a shell. I will report the bug to the package maintainer so that he can fix the corrupted installation problem.

In the meantime, I will install 7.0.1 from the web and see if it reproduces there.
Comment 12 Ondrej Vrabec 2012-05-23 07:41:57 UTC
*** Bug 212807 has been marked as a duplicate of this bug. ***