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 156424 - Project is not recognised as being under ClearCase source control
Summary: Project is not recognised as being under ClearCase source control
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: ClearCase (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-07 14:23 UTC by desmond_kirrane
Modified: 2009-05-21 16:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Attached is the messages.log for when the error occurs. Note my cleartool is throwing a warning message saying my license will expire in 7 days. Maybe that is causing the issue in the IDE. (427.34 KB, text/plain)
2009-01-07 14:48 UTC, desmond_kirrane
Details

Note You need to log in before you can comment on or make changes to this bug.
Description desmond_kirrane 2009-01-07 14:23:41 UTC
I have a Snapshot view that contains source files. 
When I create a NetBeans project using these source files it intermittenly looses the ClearCase commands i.e. all
commands become greyed out in Versioning menu and the colours to identify new (green) and checkout (blue) files disappear.

The cleartool commands still work for my view from the commandline and the Rational ClearCase Explorer still works for
my view.

On occasion restarting NetBeans seems to solve the problem. 

When this issue occurs while NetBeans is open there are no errors appear in the IDE's ClearCase Output window.

I cannot find any other logging info that may help diagnose the issue.
Comment 1 Tomas Stupka 2009-01-07 14:30:30 UTC
to get more debug info, please:
- start netbeans with the switch -J-Dorg.netbeans.modules.clearcase.level=100
- select the project from your view and click on main menu/versioning/clearcase or expand the clearcase menu in the
contex menu
- attach the file [your_userdir]/var/log/messages.log to this issue

thanks
 
Comment 2 desmond_kirrane 2009-01-07 14:48:07 UTC
Created attachment 75545 [details]
Attached is the messages.log for when the error occurs. Note my cleartool is throwing a warning message saying my license will expire in 7 days. Maybe that is causing the issue in the IDE.
Comment 3 desmond_kirrane 2009-01-07 15:07:21 UTC
Here is the message returned by Cleartool. Maybe the netbeans plugin is failing because of this

License checkout warning from Rational Common Licensing:
The license key for this product will expire in 8 days.
Comment 4 desmond_kirrane 2009-01-07 15:16:56 UTC
Here are some more errors during a checkout. This time an error dialog appeared on the screen.
The NetBeans ClearCase plugin should treat this message as an error but instead just show a warning and continue execution.

INFO [org.netbeans.modules.clearcase]
org.netbeans.modules.clearcase.ClearcaseException: Clearcase Command Failure: "checkout -nquery -reserved -cfile
C:\DOCUME~1\kirrand\LOCALS~1\Temp\clearcase-7261.txt TNPMWTableColumnNode.java"
cleartool: Warning: License checkout warning from Rational Common Licensing:
The license key for this product will expire in 8 days.



Please contact your IBM Rational sales representative to extend your temporary license key or to purchase the product.



Select OK to continue.
	at org.netbeans.modules.clearcase.client.ClearcaseClient$CommandRunnable.handleCommandError(ClearcaseClient.java:276)
	at org.netbeans.modules.clearcase.client.ClearcaseClient$CommandRunnable.run(ClearcaseClient.java:242)
	at org.netbeans.modules.clearcase.client.ClearcaseClient.execImpl(ClearcaseClient.java:165)
	at org.netbeans.modules.clearcase.client.ClearcaseClient.access$000(ClearcaseClient.java:74)
	at org.netbeans.modules.clearcase.client.ClearcaseClient$1.perform(ClearcaseClient.java:121)
	at org.netbeans.modules.clearcase.util.ProgressSupport.run(ProgressSupport.java:136)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 5 Tomas Stupka 2009-01-07 15:29:16 UTC
indeed, it seems to be caused by the license "warning", which, unfortunately, is pumped into cleartools error stream!
and the problem might manifest itself in two ways: 

1.) sometimes an exception appears during an action
2.) every time a cleartool instance is created there is a check if its available (in a working state) at all on the
users system. Now if there is some error output during this check the conclusion is made that cleartool doesn't work and
the module shuts down.

any chance to fix your license
Comment 6 Tomas Stupka 2009-05-21 16:05:54 UTC
lowering priority