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 218732 - AssertionError at org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities.getSourceGroups
Summary: AssertionError at org.netbeans.modules.web.clientproject.util.ClientSideProje...
Status: RESOLVED WORKSFORME
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: David Konecny
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2012-09-21 07:50 UTC by Vladimir Riha
Modified: 2012-09-24 13:32 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192627


Attachments
stacktrace (7.03 KB, text/plain)
2012-09-21 07:50 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-09-21 07:50:44 UTC
Build: NetBeans IDE 7.3 Beta (Build 201209201306)
VM: Java HotSpot(TM) Client VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b10
OS: Linux

User Comments:
vriha: creating a new file in Easel Demo




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.web.clientproject.util.ClientSideProjectUtilities.getSourceGroups(ClientSideProjectUtilities.java:173)
   at org.netbeans.modules.web.clientproject.ui.wizard.NewFileWizardIterator.getSourceGroups(NewFileWizardIterator.java:172)
   at org.netbeans.modules.web.clientproject.ui.wizard.NewFileWizardIterator.getPanels(NewFileWizardIterator.java:163)
   at org.netbeans.modules.web.clientproject.ui.wizard.NewFileWizardIterator.initialize(NewFileWizardIterator.java:83)
   at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.initialize(TemplateWizard.java:1028)
   at org.openide.loaders.TemplateWizardIterImpl.setIterator(TemplateWizardIterImpl.java:104)
Comment 1 Vladimir Riha 2012-09-21 07:50:46 UTC
Created attachment 124681 [details]
stacktrace
Comment 2 Vladimir Riha 2012-09-21 08:26:14 UTC
I'm unable to reproduce it, the steps were:
- create a new project with sources from Easel Demo
- resolve problems with test and config folders (I created them inside site root, no other choice there)
- try to create a new HTML file in test folder or under site root 

Happens with testing demo for J1 => P1, please evaluate
Comment 3 Tomas Mysik 2012-09-21 08:48:20 UTC
Weird, the project was not the ClientSideProject. I will improve the assertion.

Davide, do you have any idea what could happen? Perhaps a lazy project?
Comment 4 Tomas Mysik 2012-09-21 08:55:38 UTC
Assertion improved.

http://hg.netbeans.org/web-main/rev/7d4a51cf49ab

I suggest to close this issue as WORKSFORME - not good but no idea how to reproduce and how it could happen, sorry.

Thanks.
Comment 5 Vladimir Riha 2012-09-21 09:24:59 UTC
(In reply to comment #4)
> Assertion improved.
> 
> http://hg.netbeans.org/web-main/rev/7d4a51cf49ab
> 
> I suggest to close this issue as WORKSFORME - not good but no idea how to
> reproduce and how it could happen, sorry.
> 
> Thanks.

fine with me since it seems to be one time problem
Comment 6 Tomas Mysik 2012-09-21 10:27:05 UTC
It is not reproducible, right? So adding RANDOM keyword.
Comment 7 Vladimir Riha 2012-09-21 10:31:29 UTC
yes, it is not reproducible and I have seen it only once. I would suggest to remove stopper and lower priority. What do you think?
Comment 8 Marian Mirilovic 2012-09-21 10:34:47 UTC
(In reply to comment #7)
> yes, it is not reproducible and I have seen it only once. I would suggest to
> remove stopper and lower priority. What do you think?

Agreed ... Tomas, could you please backport the change you've done, so we will get better logging from Beta as it is expected to be used by broader audience. Thanks in advance.
Comment 9 Tomas Mysik 2012-09-21 10:39:32 UTC
(In reply to comment #8)
> Agreed ... Tomas, could you please backport the change you've done, so we will
> get better logging from Beta as it is expected to be used by broader audience.
> Thanks in advance.

Done.

http://hg.netbeans.org/releases/rev/ff53808ac271
Comment 10 Marian Mirilovic 2012-09-21 12:16:27 UTC
Tomasi, please close this one as WORKSFORME ... so if ER will catch a duplicate, it will reopen this one with additional information. Thanks in advance.
Comment 11 Tomas Mysik 2012-09-21 15:22:00 UTC
Done.
Comment 12 David Konecny 2012-09-23 20:55:25 UTC
(In reply to comment #3)
> Davide, do you have any idea what could happen? Perhaps a lazy project?

Looks like something Lazy. We will see with your new logging. Thanks.