Click here to Skip to main content
15,884,388 members
Home / Discussions / Java
   

Java

 
SuggestionRe: Java connection on microsoft SQL Pin
Richard MacCutchan26-Mar-17 23:00
mveRichard MacCutchan26-Mar-17 23:00 
Questionpc sharing Pin
Member 1306929119-Mar-17 16:15
Member 1306929119-Mar-17 16:15 
AnswerRe: pc sharing Pin
Richard MacCutchan19-Mar-17 22:57
mveRichard MacCutchan19-Mar-17 22:57 
Questiongui components for multipart email Pin
ashoknailwal18-Mar-17 9:03
ashoknailwal18-Mar-17 9:03 
AnswerRe: gui components for multipart email Pin
Richard MacCutchan18-Mar-17 22:02
mveRichard MacCutchan18-Mar-17 22:02 
GeneralRe: gui components for multipart email Pin
ashoknailwal18-Mar-17 23:32
ashoknailwal18-Mar-17 23:32 
GeneralRe: gui components for multipart email Pin
Richard MacCutchan19-Mar-17 2:42
mveRichard MacCutchan19-Mar-17 2:42 
Questiongetting error RuntimeException: instantiationException: Pin
Member 1305920814-Mar-17 12:08
Member 1305920814-Mar-17 12:08 
hi,
i.m getting error message while running script
java.lang.RuntimeException: java.lang.InstantiationException: 



java.lang.RuntimeException: java.lang.InstantiationException: com.orangeAppScreenPages.UserAgreement
at org.openqa.selenium.support.PageFactory.instantiatePage(PageFactory.java:134)
at org.openqa.selenium.support.PageFactory.initElements(PageFactory.java:64)
at com.testCasesAndroid.SmokeTestingAndroid.Test(SmokeTestingAndroid.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:756)
at org.testng.TestRunner.run(TestRunner.java:610)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
at org.testng.SuiteRunner.run(SuiteRunner.java:289)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
at org.testng.TestNG.runSuites(TestNG.java:1133)
at org.testng.TestNG.run(TestNG.java:1104)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:236)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:81)
Caused by: java.lang.InstantiationException: com.orangeAppScreenPages.UserAgreement
at java.lang.Class.newInstance(Class.java:427)
at org.openqa.selenium.support.PageFactory.instantiatePage(PageFactory.java:131)
... 27 more
Caused by: java.lang.NoSuchMethodException: com.orangeAppScreenPages.UserAgreement.<init>()
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.newInstance(Class.java:412)
... 28 more


===============================================
Default test
Tests run: 1, Failures: 1, Skips: 0
===============================================


===============================================
Default suite
Total tests run: 1, Failures: 1, Skips: 0
Configuration Failures: 1, Skips: 0
===============================================

[TestNG] Time taken by org.testng.reporters.XMLReporter@72c28d64: 6 ms
[TestNG] Time taken by org.testng.reporters.EmailableReporter2@31000e60: 5 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@47f4e407: 11 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@57ea113a: 13 ms
[TestNG] Time taken by org.testng.reporters.jq.Main@424ebba3: 30 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 5 ms
AnswerRe: getting error RuntimeException: instantiationException: Pin
Richard MacCutchan14-Mar-17 21:51
mveRichard MacCutchan14-Mar-17 21:51 
QuestionClass Structure (3 questions) Pin
ShikadiMaster13-Mar-17 23:09
ShikadiMaster13-Mar-17 23:09 
SuggestionRe: Class Structure (3 questions) Pin
CHill6013-Mar-17 23:15
mveCHill6013-Mar-17 23:15 
Questionto print the occurence of the unique words in a string using java-->why my counter is not working Pin
LOKENDRA YADAV12-Mar-17 0:58
LOKENDRA YADAV12-Mar-17 0:58 
AnswerRe: to print the occurence of the unique words in a string using java-->why my counter is not working Pin
Richard MacCutchan12-Mar-17 21:50
mveRichard MacCutchan12-Mar-17 21:50 
QuestionCreate an HTML file AddCookies.html which contains four text boxes . Pin
Member 1270377511-Mar-17 16:51
Member 1270377511-Mar-17 16:51 
AnswerRe: Create an HTML file AddCookies.html which contains four text boxes . Pin
Richard MacCutchan11-Mar-17 22:06
mveRichard MacCutchan11-Mar-17 22:06 
Questionprogram to find the last occurence of a character in a string without using built in function Pin
LOKENDRA YADAV8-Mar-17 22:15
LOKENDRA YADAV8-Mar-17 22:15 
AnswerRe: program to find the last occurence of a character in a string without using built in function Pin
Jochen Arndt8-Mar-17 22:36
professionalJochen Arndt8-Mar-17 22:36 
AnswerRe: program to find the last occurence of a character in a string without using built in function Pin
Patrice T9-Mar-17 15:34
mvePatrice T9-Mar-17 15:34 
AnswerRe: program to find the last occurence of a character in a string without using built in function Pin
Member 1209512219-Mar-17 22:37
Member 1209512219-Mar-17 22:37 
QuestionGetting javax.xml.ws.soap.SOAPFaultException: Error in deserializing body of request message for operation xxxx. Pin
Member 130427416-Mar-17 19:53
Member 130427416-Mar-17 19:53 
QuestionRe: Getting javax.xml.ws.soap.SOAPFaultException: Error in deserializing body of request message for operation xxxx. Pin
Richard MacCutchan6-Mar-17 22:25
mveRichard MacCutchan6-Mar-17 22:25 
QuestionAudio Steganography Pin
Member 129105895-Mar-17 21:27
Member 129105895-Mar-17 21:27 
AnswerRe: Audio Steganography Pin
Richard MacCutchan5-Mar-17 22:27
mveRichard MacCutchan5-Mar-17 22:27 
GeneralRe: Audio Steganography Pin
Member 129105895-Mar-17 22:33
Member 129105895-Mar-17 22:33 
GeneralRe: Audio Steganography Pin
Richard MacCutchan5-Mar-17 22:40
mveRichard MacCutchan5-Mar-17 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.