WebStorm Meteor debugger stopped working after reinstalling OS - meteor

The log I got in the terminal is shown below. It used to work with the same configuration before. After reinstalling OS I'm facing issues.
[ 274053] ERROR - debugger.scripts.DirectoryInfo - WebStorm 9.0.4 Build #WS-139.1803.34
[ 274053] ERROR - debugger.scripts.DirectoryInfo - JDK: 1.8.0_111
[ 274053] ERROR - debugger.scripts.DirectoryInfo - VM: OpenJDK 64-Bit Server VM
[ 274053] ERROR - debugger.scripts.DirectoryInfo - Vendor: Oracle Corporation
[ 274054] ERROR - debugger.scripts.DirectoryInfo - OS: Linux
[ 274054] ERROR - debugger.scripts.DirectoryInfo - Last Action: Debug
[ 274054] ERROR - ins.io.ChannelExceptionHandler - null
java.lang.NullPointerException
at com.jetbrains.javascript.debugger.scripts.DirectoryInfo.removeEntry(DirectoryInfo.java:119)
at com.jetbrains.javascript.debugger.scripts.DirectoryInfo.removeChild(DirectoryInfo.java:105)
at com.jetbrains.javascript.debugger.scripts.ScriptManager.doRemoveScript(ScriptManager.java:107)
at com.jetbrains.javascript.debugger.scripts.ScriptManager.removeScript(ScriptManager.java:100)
at com.intellij.chromeConnector.debugger.V8DebugProcess$MyDebugEventListener.scriptCollected(V8DebugProcess.java:464)
at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:88)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:34)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:68)
at com.sun.proxy.$Proxy95.scriptCollected(Unknown Source)
at org.jetbrains.v8.V8ScriptManager.scriptCollected(V8ScriptManager.java:197)
at org.jetbrains.v8.EventMap.handleResponseWithHandler(EventMap.java:37)
at org.jetbrains.v8.V8CommandProcessor.acceptNonSequence(V8CommandProcessor.java:57)
at org.jetbrains.v8.V8CommandProcessor.acceptNonSequence(V8CommandProcessor.java:16)
at org.jetbrains.rpc.MessageManager.processIncoming(MessageManager.java:103)
at org.jetbrains.v8.V8CommandProcessor.processIncomingJson(V8CommandProcessor.java:32)
at org.jetbrains.v8.StandaloneV8Vm$2$2.consume(StandaloneV8Vm.java:60)
at org.jetbrains.v8.StandaloneV8Vm$2$2.consume(StandaloneV8Vm.java:57)
at org.jetbrains.v8.connection.V8MessageDecoder.readContent(V8MessageDecoder.java:130)
at org.jetbrains.v8.connection.V8MessageDecoder.messageReceived(V8MessageDecoder.java:88)
at org.jetbrains.v8.connection.V8MessageDecoder.messageReceived(V8MessageDecoder.java:14)
at org.jetbrains.io.SimpleChannelInboundHandlerAdapter.channelRead0(SimpleChannelInboundHandlerAdapter.java:20)
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
at io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:83)
at io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:153)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:182)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:886)
at io.netty.channel.oio.AbstractOioByteChannel.doRead(AbstractOioByteChannel.java:147)
at io.netty.channel.oio.AbstractOioChannel$1.run(AbstractOioChannel.java:45)
at io.netty.channel.ThreadPerChannelEventLoop.run(ThreadPerChannelEventLoop.java:52)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:834)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)

Related

Corda Settler on Corda4

I upgraded the Corda-Settler to the Corda 4 release and added the ripple libraries ripple-core and ripple-bouncycastle in order to make it independent on the local installation.
When I deploy the nodes, I get the following error:
[ERROR] 2019-02-12T11:02:31,343Z [main] internal.Node.installCordaServices - Corda service com.r3.corda.finance.obligation.oracle.services.XrpOracleService failed to instantiate. Reason was: No configuration setting found for key 'nodes' [errorCode=n3sk62, moreInformationAt=https://errors.corda.net/OS/4.0-RC03/n3sk62]
com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'nodes'
at com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:152) ~[corda.jar:?]
at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:170) ~[corda.jar:?]
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:184) ~[corda.jar:?]
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:189) ~[corda.jar:?]
at com.typesafe.config.impl.SimpleConfig.getList(SimpleConfig.java:258) ~[corda.jar:?]
at com.typesafe.config.impl.SimpleConfig.getHomogeneousUnwrappedList(SimpleConfig.java:329) ~[corda.jar:?]
at com.typesafe.config.impl.SimpleConfig.getStringList(SimpleConfig.java:387) ~[corda.jar:?]
at com.r3.corda.finance.obligation.oracle.services.XrpOracleService$nodes$2.invoke(XrpOracleService.kt:22) ~[?:?]
at com.r3.corda.finance.obligation.oracle.services.XrpOracleService$nodes$2.invoke(XrpOracleService.kt:19) ~[?:?]
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) ~[kotlin-stdlib-1.2.71.jar:1.2.71-release-64 (1.2.71)]
at com.r3.corda.finance.obligation.oracle.services.XrpOracleService.getNodes(XrpOracleService.kt) ~[?:?]
at com.r3.corda.finance.obligation.oracle.services.XrpOracleService.<init>(XrpOracleService.kt:24) ~[?:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_191]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_191]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_191]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_191]
at net.corda.node.internal.AbstractNode.installCordaService(AbstractNode.kt:649) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.AbstractNode.installCordaServices(AbstractNode.kt:579) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.AbstractNode.access$installCordaServices(AbstractNode.kt:118) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.AbstractNode$start$7.invoke(AbstractNode.kt:380) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.AbstractNode$start$7.invoke(AbstractNode.kt:118) ~[corda-node-4.0-RC03.jar:?]
at net.corda.nodeapi.internal.persistence.CordaPersistence.inTopLevelTransaction(CordaPersistence.kt:227) ~[corda-node-api-4.0-RC03.jar:?]
at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:212) ~[corda-node-api-4.0-RC03.jar:?]
at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:190) ~[corda-node-api-4.0-RC03.jar:?]
at net.corda.nodeapi.internal.persistence.CordaPersistence.transaction(CordaPersistence.kt:196) ~[corda-node-api-4.0-RC03.jar:?]
at net.corda.node.internal.AbstractNode.start(AbstractNode.kt:369) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.Node.start(Node.kt:419) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.NodeStartup.startNode(NodeStartup.kt:180) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.NodeStartupCli$runProgram$2.run(NodeStartup.kt:109) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.NodeStartup$initialiseAndRun$5.invoke(NodeStartup.kt:161) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.NodeStartup$initialiseAndRun$5.invoke(NodeStartup.kt:116) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.NodeStartupLogging$DefaultImpls.attempt(NodeStartup.kt:445) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.NodeStartup.attempt(NodeStartup.kt:116) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.NodeStartup.initialiseAndRun(NodeStartup.kt:159) ~[corda-node-4.0-RC03.jar:?]
at net.corda.node.internal.NodeStartupCli.runProgram(NodeStartup.kt:107) ~[corda-node-4.0-RC03.jar:?]
at net.corda.cliutils.CordaCliWrapper.call(CordaCliWrapper.kt:184) ~[corda-tools-cliutils-4.0-RC03.jar:?]
at net.corda.cliutils.CordaCliWrapper.call(CordaCliWrapper.kt:152) ~[corda-tools-cliutils-4.0-RC03.jar:?]
at picocli.CommandLine.execute(CommandLine.java:1056) ~[picocli-3.8.0.jar:3.8.0]
at picocli.CommandLine.access$900(CommandLine.java:142) ~[picocli-3.8.0.jar:3.8.0]
at picocli.CommandLine$RunLast.handle(CommandLine.java:1246) ~[picocli-3.8.0.jar:3.8.0]
at picocli.CommandLine$RunLast.handle(CommandLine.java:1214) ~[picocli-3.8.0.jar:3.8.0]
at picocli.CommandLine$AbstractParseResultHandler.handleParseResult(CommandLine.java:1122) ~[picocli-3.8.0.jar:3.8.0]
at picocli.CommandLine.parseWithHandlers(CommandLine.java:1405) ~[picocli-3.8.0.jar:3.8.0]
at net.corda.cliutils.CordaCliWrapperKt.start(CordaCliWrapper.kt:72) ~[corda-tools-cliutils-4.0-RC03.jar:?]
at net.corda.node.Corda.main(Corda.kt:13) ~[corda-node-4.0-RC03.jar:?]
[INFO ] 2019-02-12T11:02:31,343Z [main] internal.Node.installCordaService - Installed com.r3.corda.finance.ripple.services.XRPService Corda service
[INFO ] 2019-02-12T11:02:31,390Z [main] vault.NodeVaultService.oldStatesPresent - Checking for states in vault from a previous version
[INFO ] 2019-02-12T11:02:31,406Z [main] vault.NodeVaultService.oldStatesPresent - Finished checking for old states. Old states present: false
[INFO ] 2019-02-12T11:02:34,076Z [main] statemachine.SingleThreadedStateMachineManager.invoke - Node ready, info: NodeInfo(addresses=[localhost:10011], legalIdentitiesAndCerts=[O=Oracle, L=New York, C=US], platformVersion=4, serial=1549969092158)
[INFO ] 2019-02-12T11:02:34,716Z [main] BasicInfo.printBasicNodeInfo - Loaded 6 CorDapp(s) : Combined CorDapp: Contract CorDapp: Corda Finance Demo version 1 by vendor R3 with licence Open Source (Apache 2), Workflow CorDapp: Corda Finance Demo version 1 by vendor R3 with licence Open Source (Apache 2), Combined CorDapp: Contract CorDapp: my contract name version 1 by vendor my company with licence my licence, Workflow CorDapp: my workflow name version 1 by vendor my company with licence my licence, Combined CorDapp: Contract CorDapp: my contract name version 1 by vendor my company with licence my licence, Workflow CorDapp: my workflow name version 1 by vendor my company with licence my licence, CorDapp cordapp-contracts-states-0.1 version Unknown by Unknown with licence Unknown, CorDapp oracle-0.1 version Unknown by Unknown with licence Unknown, CorDapp ripple-0.1 version Unknown by Unknown with licence Unknown
[WARN ] 2019-02-12T11:02:34,716Z [main] internal.Node.logLoadedCorDapps - Found 3 CorDapp(s) with unknown information. They will be unable to run on Corda in the future.
[INFO ] 2019-02-12T11:02:34,747Z [Node thread-1] internal.Node.registerJmxReporter - Registering JMX reporter:
[INFO ] 2019-02-12T11:02:34,763Z [Node thread-1] internal.Node.registerJolokiaReporter - Registering Jolokia JMX reporter:
[INFO ] 2019-02-12T11:02:34,794Z [main] BasicInfo.printBasicNodeInfo - Node for "Oracle" started up and registered in 151.81 sec
[INFO ] 2019-02-12T11:02:34,794Z [main] rpc.RPCServer.start - Starting RPC server with configuration RPCServerConfiguration(rpcThreadPoolSize=4, reapInterval=PT1S, deduplicationCacheExpiry=PT24H)
I neither touched the build file for the oracle nor the respective classes or the xrp.conf.
I appreciate any help! Many thanks in advance!
Here is my solution: In com.r3.corda.finance.obligation.oracle.services.XrpOracleService a small change of the code was necessary, the addition of the ClassLoader did the magic
private val nodes by lazy { ConfigFactory.parseResources(javaClass.getClassLoader(), configFileName).getStringList("nodes").mapNotNull(::URI) }
+ //private val nodes by lazy { ConfigFactory.parseResources(configFileName).getStringList("nodes").mapNotNull(::URI) }

Jhipster : issue with Grunt on blank project

I am trying to package a Jhipster 2.1.1 application.
I know it's not supported anymore, but I am maintaining this webapp and we are not able to upgrade Jhipster version.
As the packaging with Grunt doesn't work I have just created a blank application (in order to test Grunt) and ran:
mvn -Pprod package -Dmaven.test.skip=true
I am getting :
[
ERROR] Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.2:build (run-grunt) on project jhipster: Error during : grunt test --no-color: Process exited with an error: 3 (Exit value: 3) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.trecloux:yeoman-maven-plugin:0.2:build (run-grunt) on project jhipster: Error during : grunt test --no-color
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error during : grunt test --no-color
at com.github.trecloux.yeoman.YeomanMojo.executeCommand(YeomanMojo.java:104)
at com.github.trecloux.yeoman.YeomanMojo.logAndExecuteCommand(YeomanMojo.java:85)
at com.github.trecloux.yeoman.YeomanMojo.grunt(YeomanMojo.java:73)
at com.github.trecloux.yeoman.YeomanMojo.execute(YeomanMojo.java:56)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 26 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an error: 3 (Exit value: 3)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147)
at com.github.trecloux.yeoman.YeomanMojo.executeCommand(YeomanMojo.java:102)
... 31 more
[UPDATE]
➜ grunt -V
grunt-cli v1.2.0
grunt v0.4.5
➜ bower -v
1.8.0
➜ node -v
v4.7.2
I found the pb, jasmine-core and requireJs were missing. Now packaging works fine. But when I deploy my war on Tomcat7, the image ('jhipster man') doesn't show. I am getting these errors in the browser :
Failed to load resource: the server responded with a status of 404 (Introuvable)
http://localhost:8181/jhipster/api/account?cacheBuster=1485698191924 Failed to load resource: the server responded with a status of 401 (Non-Autorisé)
http://localhost:8181/assets/images/5483e159.hipster.png Failed to load resource: the server responded with a status of 404 (Introuvable)
http://localhost:8181/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 Failed to load resource: the server responded with a status of 404 (Introuvable)
http://localhost:8181/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff Failed to load resource: the server responded with a status of 404 (Introuvable)
http://localhost:8181/bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf Failed to load resource: the server responded with a status of 404 (Introuvable)

org.openqa.selenium.WebDriverException: Permission denied to access property "toString"

I am using Selenium WebDriver to automate a page developed in angular framework. But when I run my tests on FirefoxDriver I am facing the below issue. The same code works perfectly on InternetExplorerDriver.
org.openqa.selenium.WebDriverException: Permission denied to access property "toString"
Command duration or timeout: 685 milliseconds
Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
System info: host: 'L8WF0N72', ip: '30.142.97.71', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_77'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=46.0.1, platform=WINDOWS, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: c35d9fb2-7697-4ecd-a7d5-0c8005182065
*** Element info: {Using=id, value=loginusername_txt_id}
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)
at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:413)
at org.openqa.selenium.By$ById.findElement(By.java:218)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)
at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:899)
at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:41)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:238)
at utilities.WebUtils.waitForElementVisible(WebUtils.java:23)
at testCases.MenuOfResourcesTests.testSetUp(MenuOfResourcesTests.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:514)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:215)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:178)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
at org.testng.SuiteRunner.run(SuiteRunner.java:268)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.run(TestNG.java:1064)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:137)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:58)
Caused by: org.openqa.selenium.WebDriverException: Permission denied to access property "toString"
Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
System info: host: 'L8WF0N72', ip: '30.142.97.71', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_77'
Driver info: driver.version: unknown
at <anonymous class>.patchEventTargetMethods/obj.addEventListener(https://va10dlvwbs302:9443/eea/app/common/lib/angular2/angular2-polyfills.js:1072)
There has been a lot of back and forth between Angular and WebDriver communities on this defect. The below thread's would give you where the defect is currently residing.
Github Issue Tracker
The last comment on the defect is
Angular 2 is patching EventTarget.prototype, so they are responsible for any bugs caused by their changes.
This is not a Selenium issue, closing the bug.
So, i don't think there is a solution yet to this problem, but a few things that you can cross check is if you are using the latest selenium client library version and if the ff version you are using is as mentioned as supported by selenium folks
Selenium WebDriver Supported Browsers and Versions

HTTP Status 404 on /alfresco

I have installed Alfresco on port 8180 and it's not running. It's giving error HTTP status 404 at /alfresco.
alfresco.log output is:
13:56:20,665 INFO [org.alfresco.repo.admin] Using database URL 'jdbc:mysql://localhost:3306/alfrescobo' with user 'alfrescobo'.
13:56:20,899 INFO [org.alfresco.repo.admin] Connected to database MySQL version 5.5.47-0ubuntu0.14.04.1
13:56:27,524 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
13:56:27,549 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
13:56:36,184 INFO [org.springframework.extensions.webscripts.TemplateProcessorRegistry] Registered template processor Repository Template Processor for extension ftl
13:56:36,186 INFO [org.springframework.extensions.webscripts.ScriptProcessorRegistry] Registered script processor Repository Script Processor for extension js
13:56:42,040 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Connecting to database: jdbc:mysql://localhost:3306/alfrescobo, UserName=alfrescobo#localhost, MySQL Connector Java
13:56:42,041 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
13:56:42,729 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
13:56:43,239 ERROR [org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap] Failed to create model (due to EmptyContentReader): workspace://SpacesStore/154d07f2-fc85-4625-8197-6bfb7348a0ec
13:56:43,273 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
13:56:43,417 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
13:56:43,684 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Search' subsystem, ID: [Search, managed, solr]
13:56:43,941 INFO [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Search' subsystem, ID: [Search, managed, solr] complete
13:57:19,184 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 02040119 Workflow deployment failed
at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:345)
at org.alfresco.repo.workflow.WorkflowDeployer$1$1.doWork(WorkflowDeployer.java:469)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
at org.alfresco.repo.workflow.WorkflowDeployer$1.execute(WorkflowDeployer.java:465)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:452)
at org.alfresco.repo.workflow.WorkflowDeployer.onBootstrap(WorkflowDeployer.java:460)
at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:976)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1653)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 02040118 Failed to open stream onto channel:
accessor: ContentAccessor[ contentUrl=store://2016/3/2/7/32/78b6eff0-8082-4ed5-9d43-d3adad1f6a6b.bin, mimetype=text/xml, size=0, encoding=UTF-8, locale=en_US]
at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:401)
at org.alfresco.repo.workflow.WorkflowServiceImpl.isDefinitionDeployed(WorkflowServiceImpl.java:273)
at sun.reflect.GeneratedMethodAccessor341.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.alfresco.service.cmr.workflow.WorkflowPermissionInterceptor.invoke(WorkflowPermissionInterceptor.java:54)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:161)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy57.isDefinitionDeployed(Unknown Source)
at org.alfresco.repo.workflow.WorkflowDeployer.deploy(WorkflowDeployer.java:368)
at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:324)
... 29 more
Caused by: org.springframework.dao.ConcurrencyFailureException: store://2016/3/2/7/32/78b6eff0-8082-4ed5-9d43-d3adad1f6a6b.bin no longer exists
at org.alfresco.repo.content.EmptyContentReader.getDirectReadableChannel(EmptyContentReader.java:56)
at org.alfresco.repo.content.AbstractContentReader.getReadableChannel(AbstractContentReader.java:271)
at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:375)
... 48 more
The file
alf_data/contentstore/2016/3/2/7/32/78b6eff0-8082-4ed5-9d43-d3adad1f6a6b.bin
has been deleted. We have no way to know what this file contained two day ago.
You will have to make a clean Alfresco installation and start again.
Make sure you are completely wiping out the database and the content store between each installation. If this log is from a fresh install, I think it may be missing the schema creation step, which means the database already exists which should not be the case for a fresh install.
If you are clearing out the content store but not the database, Alfresco will look for nodes that exist in the DB but no longer exist on the file system, which is essentially a corrupted repository.

why i got an error while running C:\otp\otp>bin\start-server.bat in command prompt?

When i'm tring to run Open trip planner in my windos system i got an error like this why this happens?
when i'm tring to run
C:\otp\otp>bin\start-server.bat
in command prompt,i had an error like below..
can anyone know why this happens??
C:\otp\otp>bin\start-server.bat
C:\otp\otp>java -Xmx1448m -jar lib\winstone.jar --webappsDir=webapps
.......
.......
[Winstone 2012/11/22 15:47:59] - Beginning extraction from war file
[Winstone 2012/11/22 15:48:00] - No webapp classes folder found - C:\otp\otp\web
apps\opentripplanner-webapp\WEB-INF\classes
[Winstone 2012/11/22 15:48:00] - Deployed web application found at opentripplann
er-webapp.war
[Winstone 2012/11/22 15:48:00] - Winstone Servlet Engine v0.9.10 running: contro
lPort=disabled
[Winstone 2012/11/22 15:48:00] - Error during HTTP listener init or shutdown
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at winstone.HttpListener.getServerSocket(HttpListener.java:102)
at winstone.HttpListener.run(HttpListener.java:116)
at java.lang.Thread.run(Unknown Source)
[Winstone 2012/11/22 15:48:00] - HTTP Listener shutdown successfully
[Winstone 2012/11/22 15:48:00] - AJP13 Listener started: port=8009
The error tells you why:
Error during HTTP listener init or shutdown
java.net.BindException: Address already in use: JVM_Bind
The port the application tries to bind to, is already in use by another application. Change the port or shutdown the other application.
java.net.BindException: Address already in use: JVM_Bind... Seems you have something that is already listening on the port you have specified. You have to check what is using it (especially if it's a standard one like 80 or 443).

Resources