CMDBuild Forum

IP Addresses on CMDBuild 3.0

Hi folks, 

I'm still new to CMDBuild 

I just created a new Class 'Device' with an Attribute 'IP_Address' and data type IPAddress.   When I go to create a new card, I get the following error:

java.lang.RuntimeException: error converting raw value = '192.168.0.1' for attribute type = org.cmdbuild.dao.entrytype.attributetype.IpAddressAttributeType@c464ce6, caused by: java.lang.IllegalArgumentException: invalid value = '192.168.0.1' for attr type = org.cmdbuild.dao.entrytype.attributetype.IpAddressAttributeType@c464ce6


Any ideas?


Hi, make sure that when you are creating the attribute of type IP Address you choose the right IP Type in the dropdown list (as shown in the attached picture).
CMDBuild Team.

screenshot-from-2019-06-26-09-53-53-png (10.8 KB)

Previously Tecnoteca wrote:

Hi, make sure that when you are creating the attribute of type IP Address you choose the right IP Type in the dropdown list (as shown in the attached picture).
CMDBuild Team.

 

Changed to IPv4 and that helped.  Having "Any" would not accept an IPv4 address.
Thanks

Previously Geto wrote:

 Changed to IPv4 and that helped.  Having "Any" would not accept an IPv4 address.

Thanks
 
I've tried recreating the error you are encountering but for me it's working correctly (check the attached screenshot), are you using the latest version of CMDBuild (3.0)?
CMDBuild Team

screenshot-from-2019-06-27-17-27-38-png (50.0 KB)

Previously Geto wrote:

Previously Tecnoteca wrote:
Hi, make sure that when you are creating the attribute of type IP Address you choose the right IP Type in the dropdown list (as shown in the attached picture).
CMDBuild Team.

 

Changed to IPv4 and that helped.  Having "Any" would not accept an IPv4 address.
Thanks
My bad, i managed to replicate the problem, it will be solved in the next CMDBuild versions, thanks for the reporting!
CMDBuild Team