Log In
Developer Network
Technologies
Join the Network
Member Services
Events & Community
UC Express Services Interface Developer Center
Overview
Community
Message Boards Home
Recent Posts
Statistics
Answer
(
Unmark
)
Mark as an Answer
« Back to Technical Questions
ava.lang.NumberFormatException
Threads [
Previous
|
Next
]
ava.lang.NumberFormatException
Paolo Bevilacqua
12/12/12 10:38 AM
RE: ava.lang.NumberFormatException
Raghavendra Gutty Veeranagappa
12/12/12 7:31 AM
RE: ava.lang.NumberFormatException
Paolo Bevilacqua
12/12/12 11:18 AM
RE: ava.lang.NumberFormatException
Raghavendra Gutty Veeranagappa
12/12/12 11:02 AM
Paolo Bevilacqua
Posts:
11
Join Date:
9/23/09
Recent Posts
ava.lang.NumberFormatException
Answer
12/12/12 10:38 AM
Mark as an Answer
Submit
Reply with Quote
Quick Reply
running CMEProviderConfig providerConfig = new CMEProviderConfig("config.txt"); produces My config.txt: Exception in thread "main" java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:417) at java.lang.Integer.valueOf(Integer.java:554) at com.cisco.cme.cti.SmartProperties.getIntValue(SmartProperties.java:89) at com.cisco.cme.cti.CMEProviderConfig.createCMEProviderConfig(CMEProviderConfig.java:174) at com.cisco.cme.cti.CMEProviderConfig.(CMEProviderConfig.java:82) at ucxsi.console.UCXSIConsole.main(UCXSIConsole.java:105) Config.txt: # specifies the ip address of the interface that you want to use localHost = 10.0.0.200 # specifies the SIP port on which you want to listen for CUCME events localPort = 5070 #Specifies the transport layer protocol you want to use controlTransport = tcp subscriptionTransport = udp # Specifies the CUCME ip address proxyHost = 192.168.1.54 #Specifies the CUCME SIP port (it is 5060 by default) proxyPort = 5060 ##Username and Password #These are the usernames and passwords configured by the CLI : # ‘xml user dummyuser password cisco’ user=xml password=1234 # this is the name of the Session server configured on CUCME for accepting # registrations from the UCXSI SDK application. The CLI is: # voice register session-server 1 # register-id sampleapp # sessionServer = sampleapp
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Raghavendra Gutty Veeranagappa
Posts:
53
Join Date:
4/28/10
Recent Posts
RE: ava.lang.NumberFormatException
Answer
12/12/12 7:31 AM as a reply to Paolo Bevilacqua.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Paolo,
please share your complete code so that we can take a look.
Thanks,
Raghavendra
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Paolo Bevilacqua
Posts:
11
Join Date:
9/23/09
Recent Posts
RE: ava.lang.NumberFormatException
Answer
12/12/12 11:18 AM as a reply to Raghavendra Gutty Veeranagappa.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
That single line is the complete code, plus import for sdk and mininimal Java main class definitions. Maybe post your sample code that works for file-base CMEProviderConfig
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top
Raghavendra Gutty Veeranagappa
Posts:
53
Join Date:
4/28/10
Recent Posts
RE: ava.lang.NumberFormatException
Answer
12/12/12 11:02 AM as a reply to Paolo Bevilacqua.
Mark as an Answer
Submit
Reply with Quote
Quick Reply
Hi Paolo,
please refer sample codes in documentation section
http://developer.cisco.com/web/ucxapi/docs
Thanks,
Raghavendra
Sign in to vote.
Flag
Please sign in to flag this as inappropriate.
Top