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 257904 - Exception connected with package name
Summary: Exception connected with package name
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Exceptions Reporter (show other bugs)
Version: 8.1
Hardware: PC Windows 10
: P3 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-09 09:32 UTC by ruszh
Modified: 2016-02-09 09:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (157.63 KB, text/plain)
2016-02-09 09:32 UTC, ruszh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ruszh 2016-02-09 09:32:14 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_65
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.65-b01

Reproducibility: Haven't tried to reproduce it

STEPS:
  * Creation of project, name starting with capital letter: Ex: Lesson9
  * Creation  new package, name starting with small letter: Ex:lesson9.adt
  * Creation of Interface with generic
  * Creation of Implementation with generic
  * Creation of test class
  * Instantiating the implementation Ex: Queue<Integer> queue1 = new ArrayQueue();
  * Running Project
 

ACTUAL:
  Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - Erroneous ctor sym type: Lesson9.impl.ArrayQueue.<init>
	at Lesson9.impl.TestQueue.main

EXPECTED:
  Output


HANDMADE SOLUTION:
   Rename the package name, to start with capital lette
Comment 1 ruszh 2016-02-09 09:32:20 UTC
Created attachment 158431 [details]
IDE log