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 204913 - IllegalArgumentException at org.netbeans.modules.parsing.api.Embedding.create
Summary: IllegalArgumentException at org.netbeans.modules.parsing.api.Embedding.create
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Smarty (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
: 204723 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-10 07:44 UTC by Martin Fousek
Modified: 2011-11-11 15:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 182635


Attachments
stacktrace (2.38 KB, text/plain)
2011-11-10 07:44 UTC, Martin Fousek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2011-11-10 07:44:11 UTC
Build: NetBeans IDE Dev (Build 20111110-c2a4208378f6)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.4-b02, Java(TM) SE Runtime Environment, 1.6.0_29-b11
OS: Linux

User Comments:
flexjoly: its annoying

marfous: - any .tpl file with embedded HTML and also PHP codes, i.e.:
<table><tr><td rowspan="{$rowspan}">
{php}
echo "Value";
{/php}
</td></tr></table>

flexjoly: just starting after installing the latest dev. version




Stacktrace: 
java.lang.IllegalArgumentException
   at org.netbeans.modules.parsing.api.Embedding.create(Embedding.java:99)
   at org.netbeans.modules.php.smarty.editor.embedding.TplEmbeddingProvider.getEmbeddings(TplEmbeddingProvider.java:137)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:633)
   at org.netbeans.modules.parsing.impl.SourceCache.getAllEmbeddings(SourceCache.java:284)
   at org.netbeans.modules.parsing.api.ResultIterator.getEmbeddings(ResultIterator.java:163)
   at org.netbeans.modules.csl.editor.semantic.SemanticHighlighter$1.run(SemanticHighlighter.java:156)
Comment 1 Martin Fousek 2011-11-10 07:44:15 UTC
Created attachment 113068 [details]
stacktrace
Comment 2 Martin Fousek 2011-11-10 07:47:36 UTC
*** Bug 204723 has been marked as a duplicate of this bug. ***
Comment 3 Martin Fousek 2011-11-10 11:09:30 UTC
web-main #513651ec68fb
Comment 4 Quality Engineering 2011-11-11 15:36:01 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/513651ec68fb
User: Martin Fousek <marfous@netbeans.org>
Log: #204913 - IllegalArgumentException at org.netbeans.modules.parsing.api.Embedding.create