Cannot add a device Cisco IOS - development issue?

I try to add a router IOS (as a platform) my Hyperic (3.2.1) resources and I kept getting this error (see the following stack trace).

=============================================================
java.lang.NullPointerException at
org.hyperic.hq.ui.action.resource.platform.inventory.NewPlatformAction.execute(NewPlatformAction.java:108) to
org.hyperic.hq.ui.action.BaseRequestProcessor.processActionPerform(BaseRequestProcessor.java:63) to
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) to
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) to
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) to
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) to
javax.servlet.http.HttpServlet.service(HttpServlet.java:810) to
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) to
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
....

=============================================================

So, I downloaded the src and it built with the following parameters of the construction.
Windows Server 2003 SP2 (Standard edition)
Java 1.5 update 15, Ant 1.7.0 JBoss 4.0.3SP1, PostgreSQL

However, I still get the same error. After adding a few log statements, I realized that in NewPlatformAction.java ("run" method), the value of the agent is zero [agent is created by calling BizAppUtils.getAgentConnection (...)] which causes the NullPointerException in the above stack trace [boss.createPlatform (...,...,..., agent.getId ())].

BizAppUtils.getAgentConnection () is essentially a block of code to check if the "IP Port string' is null or not and this string always seems to be the null value. I put some instructions to log in NewPlatformAction.java and BizAppUtils.java and have cut-and - paste a few lines of the log server below.

Basically, BizAppUtils jump the complete code block that is supposed to create an Agent.

==============================================================

2008-03-13 12:23:32, 537 [http - 0.0.0.0 - 7080-2] INFO [NewPlatformAction] find the type of platform [10004]
2008-03-13 12:23:32, 537 [http - 0.0.0.0-7080-2] INFO [NewPlatformAction] platform [Cisco 1720] was created with attributes add ImageButtonBean = [null, null] cancel = ImageButtonBean [null, null] create = ImageButtonBean [null, null] Delete = ImageButtonBean [null, null] ok = ImageButtonBean [38: 10] Delete = ImageButtonBean [null, null] reset = enable ImageButtonBean [null, null] = ImageButtonBean [null, null] userset = ImageButtonBean [null, null] pageSize = null startMonth = 2 startDay = 2 startYear = 1 startHour = 12 startMin = 23 startAmPm = pm endMonth = 0 endDay = 1 endYear = 2008 endHour = 12 endMin = 23 endAmPm = null startTime = now recurInterval = recurrenceFrequencyDaily = numDays daily = 1 NumSemaines = 1 recurrenceDay=[Ljava.lang.Integer;@121e1bb recurrenceFrequencyMonthly = onEach numMonths = 1 recurrenceWeek = null monthlyRecurrenceDay = null eachDay 1 endTime = none = RID = null type = null name = Cisco 1720 location = lab description = router Cisco 1720 cpuCount = null fqdn = cisco1720.inside.eclyptic.com FPS = [{address = 10.100.1.13 netmask = mACAddress = id = 0 mTime = null cTime = null}] numIps = 1
2008-03-13 12:23:32, 553 forms of INFO [NewPlatformAction] [http - 0.0.0.0 - 7080-2] string value for the ip port is: null...
2008-03-13 12:23:32, 553 [http - 0.0.0.0 - 7080-2] INFO [BizappUtils] Agent ip port string: null...
2008-03-13 12:23:32, 553 [http - 0.0.0.0 - 7080-2] INFO [BizappUtils], returning null
2008-03-13 12:23:32, 553 [http - 0.0.0.0 - 7080-2] INFO [NewPlatformAction] after the creation of agent
2008-03-13 12:23:32, 553 [http - 0.0.0.0 - 7080-2] INFO [NewPlatformAction] check for agent == null is true

==============================================================

I have attached a screenshot ' create new platform "UI of Hyperic and my modified source files.

I would really like to know if I'm doing something wrong or is this a valid bug in Hyperic?

I just want to add this IOS device to Hyperic to familiarize myself with how Hyperic manages network devices. My long-term goal is to add network devices in Hyperic via an API - so pointers (or the samples/docs) to an API which allows to add devices to Hyperic is also really useful.

Hi Michelle,

I was able to reproduce using a fresh installation with no agent installed.  At least one officer has, on the same machine that the HQ server is fine.  We should apply rather than just displaying this message:
"There is no agent available to treat this platform."

Can you install + import agent and try again?

Tags: VMware

Similar Questions

  • Cannot add new device using the USB port

    Cannot add new device through usb ports, the cable is peripheral poering, not listed is not in the menu

    Thread merged:

    try to use the scanner to photo but can not add new device via USB, cable powers the device, but the device not listed is not in the menu

    Hello

    1. do you get an error message when you add a new device?

    2. What do you mean by "the cable is peripheral poering"?

    3 are. what menu you referring?

    4. is it the problem persists with a particular device?

    5. were there any changes (hardware or software) to the computer before the show?

    Reply with answers to help you in a better way.

    Click on the below mentioned link to get an idea on how to ask for suggestions in this forum.

    Suggestions for a question on the help forums

  • Button Bluetooth missing in the settings of your laptop and cannot add Bluetooth devices.

    Original title: Bluetooth toggle button missing win8

    Hello

    I have the dell Inspiron 15r 3537 with win 8 64-bit. Problem is that I don't have the button toggle bluetooth settings section wireless pc. Now I have to chance to uninstall and install different drivers, and finally find a Download Center for intel. Now, I have this button, but I can't turn it off or even add any device (mobile phone, printer). All sharing settings are turned on, so my laptop can be visible to other devices, but nothing...

    Does anyone have a solution?

    Hi Dejan,

    Good to know that your problem is solved. Please do not hesitate to answer, in case if you need help or information on this issue.

  • Cannot add Raw Device Mapping as hard drive

    Hello

    We have 2 Server 2008 Virtual Machines (which are clustered) that make up a Cluster 2 node x.  The ESX servers that organize these VMs (ESX Server different on each) are connected to a San.  When I place these two VMs, I could add a hard drive "Raw Device Mapping" without problem - he could see data warehouses, I had Setup on the SAN.  However when I try to add a hard drive "Raw Device Mapping" on the 2 new virtual machines, the only options I have are:

    -Create a new virtual disk

    -Use an existing virtual disk

    Any ideas why Raw Device Mappings is greyed out?

    You add the second node RDM disk by selecting "use an existing virtual disk".  The ability to add RAW devices is only available for RAW LUN which has already been mapped to a virtual machine.

    When you add the ROW to the first node, a mapping for the RDM vmdk file was created. It's that developed from the second node.

    See http://kb.vmware.com/kb/1004617 for more details.

    André

  • Officejet OfficeJet 4620: 4620 - cannot add a device on the Chromebook

    When you install this printer, I have printed out all the test sheets provides the printer and everything is a 'pass' and connected. I try to print from my HP Chromebook but can't add a device. The application code, I got the printer indicates it is expired. I'm stuck. Suggestions?

    Hello

    Please download the HP print for chrome extension and follow the Installer instructions here to see if that helps.

  • Already registered on the portal OnPlus - cannot add a device already enabled/customer

    Hello

    I am registered on OnPlus.

    Then my colleague registered and activated a device.

    I could not activate the device - even if my PC is on the same subnet and can connect to it very well (with the password provided by my colleague).

    When he sends me an invitation for the device - it takes me to the registration page.

    If I get my information from record (again) - I get (not surprisingly)...

    "We had a problem with your submission. Please correct the following errors. This user ID is already registered. »

    Still-, there is no choice because "I am already registered.

    When I connect OnPlus and try to "Add Customer" - I put in the details, then it goes to the activation screen with

    "CustomerX / status".

    To activate this client:

    Install the Agent network OnPlus on the premises of the customer and connect it to the LAN client.

    Turn the Network Agent OnPlus the switch zipper on the back panel of the Network Agent OnPlus.

    If your computer is connected to the same network as the network OnPlus Agent, click on the button activate now below.

    Otherwise, follow the instructions for activation in the guide getting started for the Cisco OnPlus Network Agent.

    Activation for this customer information are:

    Activation ID:... »

    If I click on activate it says

    "Unable to determine a local IP address for all Agent OnPlus of network into your current network.

    Check that the Network Agent OnPlus is connected to the same local network as this browser. OnPlus Network Agent must be on the same public WAN IP address (203.25.x.x) in your web browser block current.

    Not enabled OnPlus network Agents will attempt to disseminate their IP up to 30 minutes and if successful will appear here for 4 hours. Try to stop power OnPlus Network Agent if it has been online for more than 30 minutes.

    Verify that the DHCP service is running on the local network so that network OnPlus Agent is able to acquire an IP via DHCP. You will be able to change Agent of the OnPlus network to use a static IP address if you choose to (recommended), but the DHCP service is required to access the Network Agent OnPlus start.

    Ensure that DHCP clients can route to the Internet.

    If the Network Agent OnPlus hosting site has multiple WAN paths to the Internet, try refreshing this page. Your browser must Access this page from the IP WAN as the Agent of OnPlus network address. »

    We even tried power cycling it, and I'm definitely on the same subnet.

    There was no possibility of entering an IP address no matter where manually - process regarding the "Impossible to determine an IP address local for all Agent OnPlus network on your current network."

    I ping the device and even connect to its graphical interface. It simply does not appear as any way to add this unit to my own account on the portal OnPlus.

    That please?

    Hello Brett.

    The On100 device can be associated with a single customer and a customer cannot exist in more than one Agent account. From your description, I understand that your colleague registered as a OnPlus Agent, created an account customer, and then active the On100 device under this new client.

    However, it is possible for you to have access to the customer site by becoming a sub-agent under account OnPlus Agent of your colleague.  And according to the description above, it seems that your colleague has already sent you an invitation to become a subagent.  The problem now is that you have previously registered your EAC as OnPlus Agent id.  It is not possible for a single CCE id or an Agent and a secondary agent in the OnPlus portal.

    To allow your registration as sub-agent, we remove your EAC to your portal id.  It is a manual step that I am happy to help you.  Simply unicast your Agent account information to [email protected] / * / .  Once I take off your CEC id you will be OK to complete the registration of subagent.

    Here's some more information about the creation of the sub-agents in the portal OnPlus.  A previous post jamwyatt courtesy of response:

    In the account that contains the Agent network ON100, you can add other agents, on invitation. On the overview page, there is a menu agent at the top that will allow you to invite the officers. Once you invite an agent, and they sign up, they will be able to see the same view you see. The design intent is that you set up a master account for your business, then you invite other employees and contractors to adhere as agents of this account. Each guest will need a Cisco ID and once that they sign up, they will have to be approved by the owner of the main account (same menu agent, selection "of Agents in waiting"). Using this approach, the owner of the company retains the main account and allows you to manage completely all agents.

    Kind regards

    -r.

  • Lenova G50 - 80 win10 cannot add bookmarks and Web site freeze issues

    I have two questions.

    1: website windows freeze and will not close. Do a close task manager.

    2: try to add favorites. everything is grey. Not allow me to add favorites.

    This was win 10 out of box and everything I did back up through the normal start of a new box PC.

    Any help out there on these two points.

    Thank you Ray

    Problem has been resolved. Win 10 out of box was defective. Need to do a full reset. Fixed all issues and now works perfect. Unfortunete if it was bad unpacking.

  • Connected HP - Server errors / cannot add a device

    The new "HP" connected problems?  I migrated to the eprintcenter at this thought, that it would be better, but so far, I have not been able to add my printer that I wouldn't have to do anyway because everything was supposed to go and whenever I click on the 'Services' tab, I get a server error.  All this seems to be broken, or I'm not doing something good?  Help!

    Problem solved.  EU set up HP connected using a different e-mail account.  Apparently, one of my email accounts, he didn't like.  In any case, I used an email based on the web, set up a new account at SnapFish too and then reset my printer by disableing web services, then re-help.  Hope this helps others with this problem.

  • Firefox sync only a no pair a unit option, so how can I add a device?

    It's like https://support.mozilla.org/en-US/questions/993253?esab=a & as = aaq
    But the solution has chosen the person did not work for me.

    1 here is a picture of my synchronization options:
    http://I61.Tinypic.com/qqtovo.PNG
    2. the evidence that my Firefox is already up to date:
    http://I58.Tinypic.com/2432ge1.PNG
    3. proof I am already registered at the last synchronization version (or that it is not clear how):
    http://I60.Tinypic.com/293ufkk.PNG
    4. I looked at https://wiki.mozilla.org/Identity/Firefox-Accounts, but it does not solve my problem.

    What can I do?

    I managed to understand this one some time back thanks in part to cor - el (but his explanation was a bit confusing). It turns out Durando's right - Firefox is not supported by iOS or vice versa. Foxbrowser uses an old protocol that Sync no longer uses.

    To add another device that is running the current version of Firefox (if update if it is not), you only have to connect to Sync.

    You cannot add a device that does not currently have Firefox, like iOS apps, unless it also works with the latest version of sync (which simply requires signing in). Right now, I don't know any iOS apps that do.

    On another note, how someone found it? I cannot even find it when I search for it and only arrived here with a small link at the bottom of my email subscription (other buttons led me to an error page).

  • Cannot add a Cisco CP 2.1 wireless

    Hello

    I am very new with Cisco devices. I have a Cisco 851 router wireless and I configured manually (a simple local network with a Wan interface for internet).

    Now, I'm trying to add a Wpa wireless network to complete the configuration of my wanted.

    I use the new Cisco Configuration professional 2.1 (the thick interface on my laptop and the Express one on the router).

    I watched 2 screens casts ( http://www.cisco.com/en/US/docs/net_mgmt/cisco_configuration_professional/scrcst/ccpsc.html -> "Configuring the Wireless feature on routers with Dot11 Radio Interface" & "Set up a wireless network with WPA personal security enabled").

    Basically, these casts screens show how to access the basic graphical interface to simply add a wireless network (see the screenshot in attachment).

    Then I got the following error message: "no more than - 1 SSID can be configured for the Dot11Radio0 interface."

    It's strange to me because my setup is quiet basic and I haven't even touched the Dot11Radio0 interface.

    The other link (at the bottom of the screenshot) wireless application is too complex for me and I want to add my network wireless through the Cisco CP 2.1 Basic interface and see the CLI commands.

    Here is some information on my router (if more information is needed, please let me know)

    Cisco IOS software, software C850 (C850-ADVSECURITYK9-M), Version 12.4 (4) T7, RELEASE SOFTWARE (fc1)
    Technical support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2006 by Cisco Systems, Inc.
    Updated Thursday 29 November 06 00:37 by kellythw

    ROM: System Bootstrap, Version 12.3 (8r) YI3, VERSION of the SOFTWARE

    GregCisco851W uptime is 1 hour, 45 minutes
    System return to the ROM to reload
    System image file is "flash: c850-advsecurityk9 - mz.124 - 4.T7.bin".


    Cisco 851W (MPC8272) processor (revision 0 x 200) with 59392K / 6144K bytes of memory.
    Card processor ID FCZ111024RV
    MPC8272 CPU Rev: Part Number 0xC, mask number 0 x 10
    5 FastEthernet interfaces
    1 802.11 radio
    128 KB of non-volatile configuration memory.
    20480 bytes K of on board flash system (Intel Strataflash) processor

    Configuration register is 0 x 2102

    Thanks in advance

    Hi Gregory,

    I discovered that Cisco Configuration Professional-> add wireless network is not supported on the particular IOS image that you use. You need the IOS version to 124 - 15.T or higher. Could you pls try after upgrading the IOS pls image?

    Thank you

    Chaitra

  • Cisco IOS device - password enable

    Y at - there a trick to getting the password to enable working on Cisco's IOS device?

    I created my first workflow to connect to a Cisco IOS device recently and initially could not do the work of enable mode.

    Using activity "Send commands to the Interface", I run the command "enable."

    From there on, the activity times out.

    The goal is to use the Cisco IOS expect model, I noticed the option 'raising command privilege '.

    How is it used? Should expect model automatically detect the order of lifting and then use awaits below?

    If so, it doesn't seem to work.

    The only way I could make it work was to add my own manual expect activity "send commands to the Interface. I used the targets 'Elevation of privilege command' variable reference as await them and sent the password for admin users in response.

    It is to open the model waiting for you to use an order of elevation. If you select not those expect the models and you run an 'enable' command and you command prompt, turned to the sign ' # ', then it would not be all wait would expire models and additional orders and not work.

    -shaun

  • After upgrading vSphere 5.5 replication device cannot add VM replication

    Dear all,

    We have improved our server vcenter and device of replicaion of vpshere of version 5.1 to 5.5. after upgrade cannot add new virtual machine replication replication vsphere device. Configure the replication vsphere option grey out on VM right click menu. See the image below.

    replication.JPG

    Please advice how to solve this problem.

    Thank you and best regards,

    Lasa.

    Hello

    There is a known issue for this behavior described in VMware vSphere replication 5.5 Release Notes (shares of vSphere in vSphere Client Web replication are not available after the upgrade.) The solution is to restart your Web Client vSphere

  • Ask - Ios 9.2, but cannot add an attachment (pdf file already stored in icloud)

    Ask - Ios 9.2, but cannot add attachment in the yahoo email (pdf file already stored in icloud): drive to icloud and mail are already put in place, but don't see any files in the icloud drive (pdf in adobe already saved twice in icloud). Proof of icloud already stored is because my file name is renamed «...» (2)"in view of the repeated stops.

    Save it as a separate file - don't know if you'll be able to added a PDF by email

  • When you try to add a new device, on access to tools, Options, Sync tab, no manage an account or add a device link button. I can get codes displayed to appear on another device but cannot access a screen that I can enter the codes.

    When you go to the tab sync, I see nothing like the picture in the help pages that show a button manage an account and Add link device. I think I need to access the device link add to reach a screen that I can enter codes to set up the easy way sync. I have already overcome the problem of connection and enter my key synchronization but it's more effort and it seems to me that adding new devices does not work as described. I'm on a Win7 PC and a laptop Windows XP using Firefox 5 and using Firefox Home on an iPod Touch. I have not found a way to get into the 3 codes of four characters shown on my Win7PC on one of the other devices.

    Hello!

    If you have an account, but it seems that you are not logged in. Please, follow these steps:

    -Go to your tab sync in the Options window.
    -Press «Set up Firefox Sync»
    -Press half 'connect' down.
    -Select "I don't have the camera with me.
    -Now enter your contact information, including your sync key. And you're ready to go.
    -If you have lost your sync key, select the option below "I have lost my other device" and follow the instructions.

    I hope that this information resolves your issue.

  • Cisco Connect v1.4 for Mac - cannot add the USB printer

    I just installed Cisco Connect v1.4 (11266.0) and have updated my software 1.0.03 E4200.

    I want to add a printer USB connected to the router, but when I open the Cisco Connect, then select the "add new devices... "button, the only option for a printer is"Wireless Printer", not"Printer"followed by USB or wireless user guide. There is now way to add a USB printer. Any suggestions?

    Hello.

    It is an old Bill, still not fixed!

    http://homecommunity.Cisco.com/T5/Cisco-connect/no-option-for-USB-printer-on-Cisco-connect-1-4-11266...

    Greetz

Maybe you are looking for