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.
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.
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
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.
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.
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)
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
lowering priority