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

Summary: IndexOutOfBoundsException: Index: 0, Size: 0
Product: java Reporter: KDamir
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: byomesh
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 212381
Attachments: stacktrace

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