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 87970 - "AssertionError: duplicate context value" from javac.util.Context.put
Summary: "AssertionError: duplicate context value" from javac.util.Context.put
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 87971 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-25 15:52 UTC by Jesse Glick
Modified: 2007-01-17 10:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack traces (note also warning at top) (5.49 KB, text/plain)
2006-10-25 15:53 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2006-10-25 15:52:30 UTC
Occurred after trying to open a class using Go to Type dialog. Class was not
opened. Was able to open it later from the Projects tab.
Comment 1 Jesse Glick 2006-10-25 15:53:16 UTC
Created attachment 35537 [details]
Stack traces (note also warning at top)
Comment 2 Jan Lahoda 2006-10-25 16:26:16 UTC
Seems to me that an incorrect version of javac is used to parse a file. Could
you please send me (offline) a copy of
${NB_INSTALL_DIR}/ide8/modules/ext/javac-impl.jar and your messages.log? Thank
you very much.
Comment 3 Jan Lahoda 2006-10-25 17:14:06 UTC
*** Issue 87971 has been marked as a duplicate of this issue. ***
Comment 4 Jan Lahoda 2006-10-25 17:17:13 UTC
Thanks for the info. I think I understand what happened now: the problem IMO is
that you have jackpot module in your userdir, which comes with an (incompatible)
version of javac. I will adjust the dependencies so the IDE will complain loudly
when this happens. 
Comment 5 Jesse Glick 2006-10-25 17:51:51 UTC
Thanks. Now most stuff seems OK. Go to Type isn't working at all (just does not
display any matches), but maybe that's something else.
Comment 6 Jan Lahoda 2006-10-25 17:54:10 UTC
*** Issue 87971 has been marked as a duplicate of this issue. ***
Comment 7 Jan Lahoda 2006-10-27 08:47:47 UTC
The dependencies are adjusted, such problems should not happen:
Checking in ide/golden/deps.txt;
/cvs/ide/golden/deps.txt,v  <--  deps.txt
new revision: 1.336; previous revision: 1.335
done
Checking in ide/golden/friend-packages.txt;
/cvs/ide/golden/friend-packages.txt,v  <--  friend-packages.txt
new revision: 1.43; previous revision: 1.42
done
Checking in ide/golden/impl-deps.txt;
/cvs/ide/golden/impl-deps.txt,v  <--  impl-deps.txt
new revision: 1.56; previous revision: 1.55
done
Checking in ide/golden/modules.txt;
/cvs/ide/golden/modules.txt,v  <--  modules.txt
new revision: 1.79; previous revision: 1.78
done
Checking in ide/golden/public-packages.txt;
/cvs/ide/golden/public-packages.txt,v  <--  public-packages.txt
new revision: 1.68; previous revision: 1.67
done
Checking in jackpot/engine/nbproject/project.xml;
/cvs/jackpot/engine/nbproject/project.xml,v  <--  project.xml
new revision: 1.2; previous revision: 1.1
done
Checking in java/editor/nbproject/project.xml;
/cvs/java/editor/nbproject/project.xml,v  <--  project.xml
new revision: 1.15; previous revision: 1.14
done
Checking in java/external/javac-api.jar;
/cvs/java/external/javac-api.jar,v  <--  javac-api.jar
new revision: 1.3; previous revision: 1.2
done
Checking in java/external/javac-impl.jar;
/cvs/java/external/javac-impl.jar,v  <--  javac-impl.jar
new revision: 1.5; previous revision: 1.4
done
Checking in java/source/manifest.mf;
/cvs/java/source/manifest.mf,v  <--  manifest.mf
new revision: 1.3; previous revision: 1.2
done
Checking in java/source/debug/manifest.mf;
/cvs/java/source/debug/manifest.mf,v  <--  manifest.mf
new revision: 1.3; previous revision: 1.2
done
Checking in java/source/debug/nbproject/project.properties;
/cvs/java/source/debug/nbproject/project.properties,v  <--  project.properties
new revision: 1.3; previous revision: 1.2
done
Checking in java/source/debug/nbproject/project.xml;
/cvs/java/source/debug/nbproject/project.xml,v  <--  project.xml
new revision: 1.3; previous revision: 1.2
done
Checking in java/source/javacapi/nbproject/project.xml;
/cvs/java/source/javacapi/nbproject/project.xml,v  <--  project.xml
new revision: 1.3; previous revision: 1.2
done
Checking in java/source/javacimpl/manifest.mf;
/cvs/java/source/javacimpl/manifest.mf,v  <--  manifest.mf
new revision: 1.3; previous revision: 1.2
done
Checking in java/source/javacimpl/nbproject/project.xml;
/cvs/java/source/javacimpl/nbproject/project.xml,v  <--  project.xml
new revision: 1.3; previous revision: 1.2
done
Checking in java/source/nbproject/project.properties;
/cvs/java/source/nbproject/project.properties,v  <--  project.properties
new revision: 1.3; previous revision: 1.2
done
Checking in java/source/nbproject/project.xml;
/cvs/java/source/nbproject/project.xml,v  <--  project.xml
new revision: 1.3; previous revision: 1.2
done