<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:39:19 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[SNMP4SDN-21] snmp4sdn crashes while executing snmp4sdn:TopoDiscover in 0.4.2-Beryllium-SR2</title>
                <link>https://jira.opendaylight.org/browse/SNMP4SDN-21</link>
                <project id="10170" key="SNMP4SDN">snmp4sdn</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I am trying to discover topology of 2 ethernet switches using snmp4sdn.&lt;br/&gt;
I am using distribution-karaf-0.4.2-Beryllium-SR2.&lt;br/&gt;
The switches which I am using are configured with following information:&lt;/p&gt;

&lt;p&gt;MAC,IP,SNMP_Community,CLI_Username,CLI_Password,Model&lt;br/&gt;
52:54:00:b3:69:f9,192.168.1.11,private,root,admin123,D-Link_DGS3650&lt;br/&gt;
52:54:00:86:31:73,192.168.1.22,private,root,admin123,D-Link_DGS3650&lt;/p&gt;

&lt;p&gt;After executing snmp4sdn:readdb command using file snmp4sdn_swdb.csv having above mentioned configuration, I was trying to discover the switch topology.&lt;br/&gt;
Opendaylight snmp4sdn plugin crashes after reading few lldp related MIB information from 1st switch.&lt;/p&gt;


&lt;p&gt;Crash logs:&lt;/p&gt;

&lt;p&gt;java.lang.NullPointerException&lt;br/&gt;
	at org.opendaylight.snmp4sdn.core.internal.Controller.scanAndAddPort(Controller.java:695)&lt;br/&gt;
	at org.opendaylight.snmp4sdn.core.internal.Controller.handleAddingSwitchAndItsPorts(Controller.java:663)&lt;br/&gt;
	at org.opendaylight.snmp4sdn.core.internal.Controller.topologyDiscoverSwitchesAndPorts(Controller.java:626)&lt;br/&gt;
	at org.opendaylight.snmp4sdn.core.internal.Controller.topoDiscover(Controller.java:493)&lt;br/&gt;
	at Proxyc9bb358e_886f_4a31_875d_64445e1a9777.topoDiscover(Unknown Source)&lt;br/&gt;
	at org.opendaylight.snmp4sdn.shell.TopoDiscover.doExecute(TopoDiscover.java:21)&lt;br/&gt;
	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.shell.commands.basic.AbstractCommand.execute(AbstractCommand.java:33)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at Proxy1b6c0ea1_9c93_41f7_94a7_b23103d7dfa7.execute(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at Proxy1b6c0ea1_9c93_41f7_94a7_b23103d7dfa7.execute(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)&lt;br/&gt;
	at org.apache.karaf.shell.console.impl.jline.ConsoleImpl.run(ConsoleImpl.java:208)&lt;br/&gt;
	at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1$1.run(LocalConsoleManager.java:109)&lt;br/&gt;
	at java.security.AccessController.doPrivileged(Native Method)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_95&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:57)&lt;span class=&quot;error&quot;&gt;&amp;#91;26:org.apache.karaf.jaas.modules:3.0.3&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.apache.karaf.shell.console.impl.jline.LocalConsoleManager$2$1.run(LocalConsoleManager.java:102)&lt;span class=&quot;error&quot;&gt;&amp;#91;25:org.apache.karaf.shell.console:3.0.3&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="26760">SNMP4SDN-21</key>
            <summary>snmp4sdn crashes while executing snmp4sdn:TopoDiscover in 0.4.2-Beryllium-SR2</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ylhsieh">Christine Hsieh</assignee>
                                    <reporter username="sdn.arcnt@gmail.com">viru</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Sep 2016 10:26:51 +0000</created>
                <updated>Thu, 3 May 2018 10:13:49 +0000</updated>
                                            <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="53748" author="sdn.arcnt@gmail.com" created="Fri, 9 Sep 2016 10:26:51 +0000"  >&lt;p&gt;Attachment snmp4sdn_topoDiscover_latest has been added with description: wireshark messages exchanged between ODL snmp4sdn and the switch before cash&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13769" name="snmp4sdn_topoDiscover_latest" size="76135" author="sdn.arcnt@gmail.com" created="Fri, 9 Sep 2016 10:26:51 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6676</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=6676]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02vbb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>