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 222420 - ipv6
Summary: ipv6
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.3
Hardware: PC Other
: P3 normal (vote)
Assignee: Andrew Krasny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-19 18:41 UTC by iztexasa
Modified: 2012-11-30 02:43 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 iztexasa 2012-11-19 18:41:29 UTC
ipv6 !!! ((( 

java.lang.NumberFormatException: For input string: ":20c:29ff:fef4:97b7:22"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:492)
	at java.lang.Integer.parseInt(Integer.java:527)
[catch] at org.netbeans.modules.nativeexecution.ExecutionEnvironmentFactoryServiceImpl.fromUniqueID(ExecutionEnvironmentFactoryServiceImpl.java:158)
	at org.netbeans.modules.nativeexecution.api.ExecutionEnvironmentFactory.fromUniqueID(ExecutionEnvironmentFactory.java:201)
	at org.netbeans.modules.cnd.remote.server.RemoteServerRecord.fromString(RemoteServerRecord.java:462)
	at org.netbeans.modules.cnd.remote.server.RemoteServerList.<init>(RemoteServerList.java:111)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at java.lang.Class.newInstance0(Class.java:372)
	at java.lang.Class.newInstance(Class.java:325)
	at org.openide.util.lookup.implspi.SharedClassObjectBridge.newInstance(SharedClassObjectBridge.java:64)
	at org.openide.util.lookup.MetaInfServicesLookup$P.getInstance(MetaInfServicesLookup.java:492)
	at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:422)
	at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:223)
	at org.netbeans.modules.cnd.api.remote.ServerList.getDefault(ServerList.java:77)
	at org.netbeans.modules.cnd.api.remote.ServerList.getDefaultRecord(ServerList.java:113)
	at org.netbeans.modules.cnd.makeproject.configurations.CppUtils.getDefaultDevelopmentHost(CppUtils.java:188)
	at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationXMLCodec.createNewConfiguration(ConfigurationXMLCodec.java:1007)
	at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationXMLCodec.startElement(ConfigurationXMLCodec.java:209)
	at org.netbeans.modules.cnd.api.xml.XMLDecoder._startElement(XMLDecoder.java:113)
	at org.netbeans.modules.cnd.api.xml.XMLDecoder.checkStartRecursion(XMLDecoder.java:131)
	at org.netbeans.modules.cnd.api.xml.XMLDecoder._startElement(XMLDecoder.java:110)
	at org.netbeans.modules.cnd.api.xml.XMLDocReader$Parser.startElement(XMLDocReader.java:264)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:506)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1323)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2717)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:607)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:489)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)
	at org.netbeans.modules.cnd.api.xml.XMLDocReader.read(XMLDocReader.java:133)
	at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationXMLReader._read(ConfigurationXMLReader.java:157)
	at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationXMLReader.access$000(ConfigurationXMLReader.java:80)
	at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationXMLReader$1.runImpl(ConfigurationXMLReader.java:134)
	at org.netbeans.modules.cnd.utils.NamedRunnable.run(NamedRunnable.java:62)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2036)
----
but remote host inet6 addr: fe80::20c:29ff:fef4:97b7
C:\>ping fe80::20c:29ff:fef4:97b7

Обмен пакетами с fe80::20c:29ff:fef4:97b7 по с 32 байтами данных:
Ответ от fe80::20c:29ff:fef4:97b7: время=1мс
Ответ от fe80::20c:29ff:fef4:97b7: время<1мс
Ответ от fe80::20c:29ff:fef4:97b7: время<1мс
Ответ от fe80::20c:29ff:fef4:97b7: время<1мс

Статистика Ping для fe80::20c:29ff:fef4:97b7:
    Пакетов: отправлено = 4, получено = 4, потеряно = 0
    (0% потерь)
Приблизительное время приема-передачи в мс:
    Минимальное = 0мсек, Максимальное = 1 мсек, Среднее = 0 мсек

(
Comment 1 Leonid Lenyashin 2012-11-19 19:33:07 UTC
Приятно видеть, что и в техасе наши люди. ;)
Comment 2 Andrew Krasny 2012-11-27 20:49:03 UTC
http://hg.netbeans.org/cnd-main/rev/79af19458455

I believe that this fixes the problem and allows to proceed with IPv6 addresses. There is no neighbor hosts discovery for IPv6 though.. 
Also, as I do not have a real IPv6 net, I want to ask iztexasa to verify with the latest build (as soon as this changeset gets to the trunk).
Comment 3 Quality Engineering 2012-11-30 02:43:44 UTC
Integrated into 'main-golden', will be available in build *201211300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/79af19458455
User: Andrew Krasny <akrasny@netbeans.org>
Log: Bug #222420 - ipv6