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 134230 - Visual Midlet problem
Summary: Visual Midlet problem
Status: VERIFIED DUPLICATE of bug 128705
Alias: None
Product: javame
Classification: Unclassified
Component: Visual Designer (show other bugs)
Version: 6.x
Hardware: Other Windows XP
: P2 blocker (vote)
Assignee: Karol Harezlak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-30 09:30 UTC by pepi
Modified: 2008-07-08 15:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file (75.90 KB, text/plain)
2008-05-05 09:08 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pepi 2008-04-30 09:30:20 UTC
Hi, 
I'd same problem when I want to change something in my visual midled. Part of the error is the follow:
java.lang.IllegalArgumentException: name exists
   at org.netbeans.modules.editor.guards.GuardedSectionsImpl.checkNewSection(GuardedSectionsImpl.java:302)
   at org.netbeans.modules.editor.guards.GuardedSectionsImpl.createSimpleSection(GuardedSectionsImpl.java:160)
   at org.netbeans.api.editor.guards.GuardedSectionManager.createSimpleSection(GuardedSectionManager.java:107) .....

So the change never occur in my sourcecode.

Thanks for your support

Antonio Pepiciello
Comment 1 Marian Mirilovic 2008-05-01 20:03:51 UTC
pepi,
could you please attach the whole message.log file (located in $HOME/.netbeans/$VERSION_NUMBER/var/log/message.log) or
at least the whole stack trace ? Thanks in advance.
Comment 2 Marian Mirilovic 2008-05-05 09:08:14 UTC
Created attachment 61031 [details]
log file
Comment 3 Marian Mirilovic 2008-05-05 09:09:49 UTC
Reporters comment :
the last week I updated netbeans to 6.1 version, but the problem is the same.
So in attach you find the message.log file.
Tanks for your support 
Comment 4 Marian Mirilovic 2008-05-05 09:14:42 UTC
So there is another exceptions at the beginning :
java.lang.IllegalArgumentException: Sections overlap
	at org.netbeans.modules.editor.guards.GuardedSectionsImpl.checkOverlap(GuardedSectionsImpl.java:310)
	at org.netbeans.modules.editor.guards.GuardedSectionsImpl.checkNewSection(GuardedSectionsImpl.java:299)
	at org.netbeans.modules.editor.guards.GuardedSectionsImpl.createSimpleSection(GuardedSectionsImpl.java:160)
	at org.netbeans.api.editor.guards.GuardedSectionManager.createSimpleSection(GuardedSectionManager.java:107)
	at org.netbeans.modules.vmd.codegen.CodeUtils.createSimpleSectionAfter(CodeUtils.java:100)

sounds like dup of issue 128705

*** This issue has been marked as a duplicate of 128705 ***
Comment 5 Karol Harezlak 2008-05-05 09:49:52 UTC
Downgrading to P2 it is random issue and not very easy reproducible ( no luck so far)
Comment 6 Ivan Sidorkin 2008-07-08 15:38:55 UTC
verified duplicate