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 83538 - Exception pasting method from interface
Summary: Exception pasting method from interface
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-27 19:47 UTC by _ tboudreau
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2006-08-27 19:47:20 UTC
While editing org.netbeans.lib.ddl.adaptors.DefaultAdaptor from the db module so
that I could compile NetBeans using JDK 6, I was copying some methods from
java.sql.DatabaseMetaData into it.  When I pasted
	ResultSet getClientInfoProperties()
		throws SQLException;

The exception below was thrown (note that currently my project metadata for the
db project is corrupt because of project metadata incompatibilities between
build 060803 which I'm using and the trunk versions of the standard modules -
it's why I'm trying to build the trunk [since the trunk build I downloaded is
hopelessly broken but maybe I can fix my local one]).


java.lang.IllegalArgumentException: Child tree not found (type: 13 firstToken:
97 lastToken: 17344 resource: org/netbeans/lib/ddl/adaptors/DefaultAdaptor.java)
class org.netbeans.jmi.javamodel.JavaClass$Impl
org.netbeans.lib.ddl.adaptors.DefaultAdaptor valid:true | class
org.netbeans.jmi.javamodel.Resource$Impl
org/netbeans/lib/ddl/adaptors/DefaultAdaptor.java valid:true | 
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getASTree(MetadataElement.java:1278)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getASTree(MetadataElement.java:521)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getPosition(MetadataElement.java:527)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.FeatureImpl.getPosition(FeatureImpl.java:291)
	at org.netbeans.modules.javacore.JMManager.getElementPosition(JMManager.java:777)
	at org.netbeans.modules.javacore.JMManager.getElementPosition(JMManager.java:763)
	at
org.netbeans.modules.java.JavaEditor$JavaEditorComponent.findElement(JavaEditor.java:1362)
	at
org.netbeans.modules.java.JavaEditor$JavaEditorComponent.createNode(JavaEditor.java:1310)
	at
org.netbeans.modules.java.JavaEditor$JavaEditorComponent.access$1000(JavaEditor.java:1230)
	at
org.netbeans.modules.java.JavaEditor$JavaEditorComponent$1$1.run(JavaEditor.java:1282)
	at org.openide.util.Mutex.readAccess(Mutex.java:227)
	at
org.netbeans.modules.java.JavaEditor$JavaEditorComponent$1.run(JavaEditor.java:1280)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:525)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:957)
Comment 1 Jan Becicka 2006-10-26 16:26:22 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 2 Quality Engineering 2007-09-20 12:06:59 UTC
Reorganization of java component