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 257041 - IndexOutOfBoundsException: Index: 0, Size: 0
Summary: IndexOutOfBoundsException: Index: 0, Size: 0
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-08 03:49 UTC by KDamir
Modified: 2015-12-08 03:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 212381


Attachments
stacktrace (5.29 KB, text/plain)
2015-12-08 03:49 UTC, KDamir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KDamir 2015-12-08 03:49:40 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 7

User Comments:
GUEST: <Please provide a description of the problem or the steps to reproduce>ff

GUEST: cant remember, just keep coming

KDamir: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at com.sun.tools.javac.util.List.get(List.java:475)
	at org.netbeans.modules.web.el.ELTypeUtilities.getReturnTypeForGenericClass(ELTypeUtilities.java:233)
	at org.netbeans.modules.web.el.ELTypeUtilities.getReturnType(ELTypeUtilities.java:211)
	at org.netbeans.modules.web.el.ELTypeUtilities$TypeResolverVisitor.visit(ELTypeUtilities.java:941)
	at com.sun.el.parser.SimpleNode.accept(SimpleNode.java:222)


In code :
<p:dataTable value="#{report.mapGR.entrySet().toArray()}"
                                 var="rep"
                                 rowIndexVar="rowIndex"
                                tableStyleClass="border">
                            
                            <p:column headerText="?????">
                                    <h:outputText value="#{report.monthMap.get(rep.key)}"/>
                            </p:column>
                            
<!--                            <p:columns headerText="#{mon.valu

GUEST: I have opened the Netbeans.

GUEST: wrote this in an xhtml. the error lies in the id attribute but the exception came up instead of a simple red underline.

<p:inplace id=" "editor="true">
	<p:calendar pattern="dd.MM.yyyy" id="creation" value="#{driverTracking.shippingDay}">
		<f:convertDateTime pattern="dd.MM.yyyy" timeZone="Europe/Berlin"/>
	</p:calendar>
</p:inplace>

GUEST: dont know, was just doing clean and build and deploy to gf 4 server my jsf 2 app

GUEST: <Please provide a description of the problem or the steps to reprodce>

byomesh: click save

GUEST: c

GUEST: i don't know




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at com.sun.tools.javac.util.List.get(List.java:475)
   at org.netbeans.modules.web.el.ELTypeUtilities.getReturnTypeForGenericClass(ELTypeUtilities.java:233)
   at org.netbeans.modules.web.el.ELTypeUtilities.getReturnType(ELTypeUtilities.java:211)
   at org.netbeans.modules.web.el.ELTypeUtilities$TypeResolverVisitor.visit(ELTypeUtilities.java:941)
   at com.sun.el.parser.SimpleNode.accept(SimpleNode.java:222)
   at com.sun.el.parser.SimpleNode.accept(SimpleNode.java:225)
Comment 1 KDamir 2015-12-08 03:49:42 UTC
Created attachment 157708 [details]
stacktrace