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 199536 - Freezes on start-up after upgrades
Summary: Freezes on start-up after upgrades
Status: RESOLVED DUPLICATE of bug 199538
Alias: None
Product: php
Classification: Unclassified
Component: Smarty (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-20 08:42 UTC by gedrox
Modified: 2011-09-06 10:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (19.49 KB, text/plain)
2011-06-20 08:57 UTC, gedrox
Details
Netbeans log (23.31 KB, text/plain)
2011-06-20 08:57 UTC, gedrox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gedrox 2011-06-20 08:42:36 UTC
Freezes on start-up with message staying "Done loading modules" after upgrades of PHP Smarty, PHP Editor, and some other plug-ins.

What are the next steps to investigate or solve the problem?
Comment 1 Marian Mirilovic 2011-06-20 08:44:40 UTC
could you please generate thread-dump and attach it here together with messages.log file ?
http://wiki.netbeans.org/GenerateThreadDump
http://wiki.netbeans.org/FaqLogMessagesFile

... and reopen this issue. Thanks in advance.
Comment 2 gedrox 2011-06-20 08:57:29 UTC
Created attachment 108983 [details]
Thread dump
Comment 3 gedrox 2011-06-20 08:57:46 UTC
Created attachment 108984 [details]
Netbeans log
Comment 4 gedrox 2011-06-20 08:58:07 UTC
Problem fixed by removing file ~/.netbeans/7.0/modules/org-netbeans-modules-php-smarty.jar. Apparently it removes the PHP Smarty plugin.

Still installing the plugin breaks it again.
Comment 5 Petr Pisl 2011-06-21 09:43:39 UTC
It looks like a deadlock at org.netbeans.modules.php.project.PhpProject$Info.annotateImage .
Comment 6 Tomas Mysik 2011-06-27 11:29:11 UTC
Not a deadlock, UI is waiting on Smarty support. Duplicate of issue #188083. Martin, please verify. Thanks.

*** This bug has been marked as a duplicate of bug 188083 ***
Comment 7 Martin Fousek 2011-07-04 06:56:32 UTC
You're right Tomas. But it's perhaps duplicate of issue #199538. 

gedrox please could you try to uninstall your Smarty plugin, reload the catalog and reinstall the plugin from UC again, please?

*** This bug has been marked as a duplicate of bug 199538 ***
Comment 8 gedrox 2011-07-04 07:24:13 UTC
Yes, seems it is working now after reinstall after reloading the catalog.
Comment 9 gedrox 2011-07-04 07:40:10 UTC
Strange but after system restart the problem is back.
Comment 10 Martin Fousek 2011-07-04 07:47:51 UTC
After system restart? It's really strange.

Please could you take a look onto last comment in the issue #199538? Could you provide steps how to reproduce it? Or could you repeat my steps and then send your thread dump again? Thanks a lot.
Comment 11 gedrox 2011-07-04 07:54:20 UTC
Maybe this is because on the previous run I had no project with Smarty TPL files opened. After system reboot there was an opened project with plenty of templates.
Comment 12 Martin Fousek 2011-07-04 08:19:53 UTC
Plenty of templates shouldn't be problem. Did you tried these steps?
1, downloaded nb70 from nb.org
2, started as ./netbeans --userdir /tmp/ud1
3, reloaded catalog of plugins and installed Smarty PHP Framework plugin
4, opened several project with and also without Smarty files
-> any another start/restart of IDE doesn't break it
Comment 13 Martin Fousek 2011-07-04 08:34:07 UTC
BTW, wouldn't be possible to send me your project where are you facing that?
Comment 14 Martin Fousek 2011-07-04 08:43:01 UTC
One another comment, I found out that your PHP Smarty Framework module was from 06/14 - there is not fixed the dependency issue, so it's really duplicate of 199538. Please comment into that issue and let me know if it works to you with newer 06/21 - thanks a lot for your cooperation.