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 143377 - [65cat] AssertionError at com.sun.tools.javac.comp.TransTypes.visitApply
Summary: [65cat] AssertionError at com.sun.tools.javac.comp.TransTypes.visitApply
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Dusan Balek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks: 152191
  Show dependency tree
 
Reported: 2008-08-09 12:21 UTC by Tomas Mysik
Modified: 2009-08-25 18:52 UTC (History)
23 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 88584


Attachments
stacktrace (4.43 KB, text/plain)
2008-08-09 12:21 UTC, Tomas Mysik
Details
stacktrace (5.66 KB, text/plain)
2008-09-30 18:46 UTC, Jesse Glick
Details
stacktrace (5.22 KB, text/plain)
2008-10-21 00:58 UTC, Jesse Glick
Details
My log file, in case it is useful (I don't think so) (580.74 KB, text/plain)
2008-10-21 01:08 UTC, Jesse Glick
Details
stacktrace (3.03 KB, text/plain)
2008-11-04 01:31 UTC, misterm
Details
stacktrace (3.03 KB, text/plain)
2008-11-04 01:33 UTC, misterm
Details
Reproduced easily on clean userdir in a dev build; just install Automatic Projects, make new project on Ant dev sources, run dist-lite target, wait for scanning to complete (33.03 KB, application/octet-stream)
2008-11-07 18:21 UTC, Jesse Glick
Details
stacktrace (7.04 KB, text/plain)
2009-05-30 04:16 UTC, nleck
Details
stacktrace (5.54 KB, text/plain)
2009-06-06 06:10 UTC, nleck
Details
stacktrace (7.04 KB, text/plain)
2009-06-06 06:14 UTC, nleck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2008-08-09 12:21:42 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808081619)
VM: Java HotSpot(TM) Server VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Linux, 2.6.26-gentoo, i386

User Comments: 
nb 6.5 beta - just start ide, some nb modules and one freeform opened
(the error is related to the freeform module I guess)

Stacktrace: 
java.lang.AssertionError
        at com.sun.tools.javac.comp.TransTypes.visitApply(TransTypes.java:596)
        at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1300)
        at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
        at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:432)
        at com.sun.tools.javac.comp.TransTypes.visitVarDef(TransTypes.java:489)
        at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:713)
Comment 1 Tomas Mysik 2008-08-09 12:21:49 UTC
Created attachment 66954 [details]
stacktrace
Comment 2 Dusan Balek 2008-08-13 10:07:29 UTC
Fixed.

changeset 1eecc4ad8d66 in main/nb-javac
details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=1eecc4ad8d66
changeset 0b211860dd6e in main
details: http://hg.netbeans.org/main?cmd=changeset;node=0b211860dd6e
Comment 3 tjquinn 2008-09-17 00:35:00 UTC
I know this is marked as fixed, but the NB error matcher declared a failure I just saw from the 09/15 nightly to be a
dup of this and said I should use a more up-to-date build where it was fixed.  More up-to-date than last night?
Comment 4 ulfzibis 2008-09-22 16:37:27 UTC
Reproduced with Build 200809220201, see: http://statistics.netbeans.org/analytics/detail.do?id=116387
Comment 5 ulfzibis 2008-09-22 19:09:39 UTC
Reproduced with Build 200809220201
Comment 6 Jesse Glick 2008-09-30 18:46:40 UTC
Build: NetBeans IDE Dev (Build 080929)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Linux, 2.6.24-19-generic, i386

User Comments: 
CP scanning on Ant dev sources as autoproject.

Stacktrace: 
java.lang.AssertionError
        at com.sun.tools.javac.comp.TransTypes.visitApply(TransTypes.java:596)
        at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1300)
        at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
        at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:432)
        at com.sun.tools.javac.comp.TransTypes.visitExec(TransTypes.java:563)
        at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1146)
Comment 7 Jesse Glick 2008-09-30 18:46:45 UTC
Created attachment 70929 [details]
stacktrace
Comment 8 Exceptions Reporter 2008-10-19 04:02:38 UTC
This issue has already 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=88584
Comment 9 Marian Mirilovic 2008-10-20 09:44:15 UTC
35 duplicate after original bug fix ...
Comment 10 Dusan Balek 2008-10-20 09:51:28 UTC
I've just tried to open ant sources as autoproject, but unfortunately, I'm not able to reproduce the issue. Jesse or
anybody, are you able to reproduce the issue? Could you please attach the IDE's log file? Thanks.
Comment 11 Jesse Glick 2008-10-21 00:58:17 UTC
Build: NetBeans IDE Dev (Build 081014)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.24-21-generic, i386

User Comments: 


Stacktrace: 
java.lang.AssertionError
        at com.sun.tools.javac.comp.TransTypes.visitApply(TransTypes.java:597)
        at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1300)
        at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
        at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:433)
        at com.sun.tools.javac.comp.TransTypes.visitExec(TransTypes.java:564)
        at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1146)
Comment 12 Jesse Glick 2008-10-21 00:58:22 UTC
Created attachment 72327 [details]
stacktrace
Comment 13 Jesse Glick 2008-10-21 01:08:09 UTC
Still happening to me with Ant sources, as you can see. Note that I have not (yet) attempted to delete my cache dir.
Comment 14 Jesse Glick 2008-10-21 01:08:52 UTC
Created attachment 72329 [details]
My log file, in case it is useful (I don't think so)
Comment 15 Dusan Balek 2008-10-21 13:21:12 UTC
Enhanced logging.

changeset 50641464a9ea in main/nb-javac
details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=50641464a9ea
changeset 601e047de589 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=601e047de589

Jesse, could you please update your sources, run the IDE with '-J-Dcom.sun.tools.javac.comp.Repair.level=FINEST', and
attach the new IDE's log file? Thanks.
Comment 16 misterm 2008-11-04 01:31:31 UTC
Build: NetBeans IDE 6.5 RC1 (Build 200810171318)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.AssertionError
        at com.sun.tools.javac.comp.TransTypes.visitApply(TransTypes.java:597)
        at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1300)
        at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
        at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:433)
        at com.sun.tools.javac.comp.TransTypes.visitVarDef(TransTypes.java:489)
        at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:713)
Comment 17 misterm 2008-11-04 01:31:35 UTC
Created attachment 73166 [details]
stacktrace
Comment 18 misterm 2008-11-04 01:33:30 UTC
Build: NetBeans IDE 6.5 RC1 (Build 200810171318)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.AssertionError
        at com.sun.tools.javac.comp.TransTypes.visitApply(TransTypes.java:597)
        at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1300)
        at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
        at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:433)
        at com.sun.tools.javac.comp.TransTypes.visitVarDef(TransTypes.java:489)
        at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:713)
Comment 19 misterm 2008-11-04 01:33:34 UTC
Created attachment 73167 [details]
stacktrace
Comment 20 Jesse Glick 2008-11-07 18:21:06 UTC
Created attachment 73492 [details]
Reproduced easily on clean userdir in a dev build; just install Automatic Projects, make new project on Ant dev sources, run dist-lite target, wait for scanning to complete
Comment 21 _ gtzabari 2008-11-16 23:47:53 UTC
This issue is marked as INCOMPLETE. Is that still the case?
Comment 22 Dusan Balek 2008-12-03 13:00:07 UTC
Fixed.

changeset ae04bbf556ac in main/nb-javac
details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=ae04bbf556ac
changeset 71628a2ecb48 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=71628a2ecb48
Comment 23 Quality Engineering 2008-12-05 06:06:26 UTC
Integrated into 'main-golden', will be available in build *200812050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/71628a2ecb48
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #143377: AssertionError at com.sun.tools.javac.comp.TransTypes.visitApply - fixed.
Comment 24 Exceptions Reporter 2009-01-13 11:38:14 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 20090113073351)
http://statistics.netbeans.org/exceptions/detail.do?id=88584
Comment 25 Exceptions Reporter 2009-01-13 11:40:14 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 20090113073351)
http://statistics.netbeans.org/exceptions/detail.do?id=88584
Comment 26 Dusan Balek 2009-01-14 09:20:40 UTC
Fixed.

changeset a5293bd3d20d in main/nb-javac
details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=a5293bd3d20d
changeset b2f9926f48a4 in main
details: http://hg.netbeans.org/main?cmd=changeset;node=b2f9926f48a4
Comment 27 Quality Engineering 2009-01-16 07:26:40 UTC
Integrated into 'main-golden', will be available in build *200901160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b2f9926f48a4
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #143377 and #147851 fixed.
Comment 28 nleck 2009-05-30 04:16:38 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.27.21-170.2.56.fc10.x86_64, amd64

User Comments: 


Stacktrace: 
java.lang.AssertionError
        at com.sun.tools.javac.comp.TransTypes.visitApply(TransTypes.java:597)
        at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1300)
        at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
        at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:433)
        at com.sun.tools.javac.comp.TransTypes.visitSelect(TransTypes.java:718)
        at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1655)
Comment 29 nleck 2009-05-30 04:16:48 UTC
Created attachment 83009 [details]
stacktrace
Comment 30 nleck 2009-06-06 06:06:13 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.27.21-170.2.56.fc10.x86_64, amd64

User Comments: 


Stacktrace: 
java.lang.AssertionError
        at com.sun.tools.javac.comp.TransTypes.visitApply(TransTypes.java:597)
        at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1300)
        at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
        at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:433)
        at com.sun.tools.javac.comp.TransTypes.visitAssign(TransTypes.java:636)
        at com.sun.tools.javac.tree.JCTree$JCAssign.accept(JCTree.java:1444)
Comment 31 nleck 2009-06-06 06:10:10 UTC
Created attachment 83268 [details]
stacktrace
Comment 32 nleck 2009-06-06 06:10:34 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Linux, 2.6.27.21-170.2.56.fc10.x86_64, amd64

User Comments: 


Stacktrace: 
java.lang.AssertionError
        at com.sun.tools.javac.comp.TransTypes.visitApply(TransTypes.java:597)
        at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1300)
        at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
        at com.sun.tools.javac.comp.TransTypes.translate(TransTypes.java:433)
        at com.sun.tools.javac.comp.TransTypes.visitSelect(TransTypes.java:718)
        at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1655)
Comment 33 nleck 2009-06-06 06:14:30 UTC
Created attachment 83270 [details]
stacktrace