Error while using Live edit

Is anybody seeing such errors in log while trying to use Live edit on Ubuntu:

2013-02-25 21:59:46,713 [ 160646]  ERROR - ction.BrowserConnectionManager - JetBrains PhpStorm (PhpStorm) PS-126.339  Build #PS-126.339 2013-02-25 21:59:46,713 [ 160646]  ERROR - ction.BrowserConnectionManager - JDK: 1.7.0_15 2013-02-25 21:59:46,713 [ 160646]  ERROR - ction.BrowserConnectionManager - VM: Java HotSpot(TM) 64-Bit Server VM 2013-02-25 21:59:46,713 [ 160646]  ERROR - ction.BrowserConnectionManager - Vendor: Oracle Corporation 2013-02-25 21:59:46,714 [ 160647]  ERROR - ction.BrowserConnectionManager - OS: Linux 2013-02-25 21:59:46,714 [ 160647]  ERROR - ction.BrowserConnectionManager - Last Action: SaveAll 2013-02-25 21:59:46,714 [ 160647]  ERROR - ction.BrowserConnectionManager - Original exception:   java.lang.NullPointerException      at org.jetbrains.io.jsonRpc.JsonRpcServer.message(JsonRpcServer.java:110)      at org.jetbrains.io.webSocket.MessageChannelHandler.handleWebSocketFrame(MessageChannelHandler.java:58)      at org.jetbrains.io.webSocket.MessageChannelHandler.messageReceived(MessageChannelHandler.java:21)      at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)      at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:787)      at org.jboss.netty.handler.codec.http.HttpContentEncoder.messageReceived(HttpContentEncoder.java:69)      at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88)      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)      at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:787)      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)      at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)      at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)      at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)      at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:555)      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)      at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)      at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:107)      at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)      at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:88)      at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)      at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)      at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)      at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:449)      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:722)      at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:152) 2013-02-25 22:16:33,778 [1167711]   INFO - j.ide.plugins.PluginDescriptor - Cannot find plugin com.intellij resource-bundle: messages.WebIdeBundle 2013-02-25 22:17:50,196 [1244129]   INFO - ction.BrowserConnectionManager - Browser connected: version 0.5.5, CHROME


Plugin version 0.5.5. OS Ubuntu. I install Live edit plugin and then extension from Webstore. Edit -> Live edit is checked.

4 comments
Comment actions Permalink

And in Windows environment everything work well.

0
Comment actions Permalink

Please enable debug logging http://devnet.jetbrains.com/docs/DOC-1202 , category "#org.jetbrains.io.jsonRpc.JsonRpcServer"

0
Comment actions Permalink

I've added this lines to my config and that's what i have in output(from the moment of trying to use live edit):

2013-02-26 21:23:19,971 [ 112476]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT ["Dom","highlightElement",["dc48ad8","head > body > div#d:first-child + footer:first-child + nav:last-child",1]] 2013-02-26 21:23:19,978 [ 112483]  DEBUG - rains.io.jsonRpc.JsonRpcServer - IN [0, "Pages", "filterInspectable", "dc48ad8", ["www.google.ru","/search","www.jetbrains.com","/support/phpstorm/","devnet.jetbrains.com","/community/wi;jsessionid=9C9FC9880789581A791035850AD84DD0","devnet.jetbrains.com","/thread/442120","devnet.jetbrains.com","/docs/DOC-1202"]] 2013-02-26 21:23:20,270 [ 112775]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/intentionSettings.xml file is null 2013-02-26 21:23:21,174 [ 113679]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT ["Dom","openUrl",["file:///home/nikita/WebstormProjects/grunt/index.html"]] 2013-02-26 21:24:05,722 [ 158227]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT [0,[[]]] 2013-02-26 21:25:23,509 [ 236014]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT ["Dom","highlightElement",["dc48ad8","head > body > div#d",0]] 2013-02-26 21:25:23,513 [ 236018]  DEBUG - rains.io.jsonRpc.JsonRpcServer - IN [1, "Pages", "filterInspectable", "dc48ad8", ["www.google.ru","/search","www.jetbrains.com","/support/phpstorm/","devnet.jetbrains.com","/community/wi;jsessionid=9C9FC9880789581A791035850AD84DD0","devnet.jetbrains.com","/thread/442120","devnet.jetbrains.com","/docs/DOC-1202"]] 2013-02-26 21:25:23,689 [ 236194]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT ["Dom","highlightElement",["dc48ad8","head > body > div#d > p:first-child",0]] 2013-02-26 21:25:23,839 [ 236344]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT ["Dom","highlightElement",["dc48ad8","head > body > div#d",0]] 2013-02-26 21:25:24,359 [ 236864]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/dataSources.xml file is null 2013-02-26 21:25:24,372 [ 236877]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/dataSources.xml file is null 2013-02-26 21:25:24,382 [ 236887]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $PROJECT_CONFIG_DIR$/sqlDataSources.xml file is null 2013-02-26 21:25:25,405 [ 237910]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT ["Dom","hideHighlight"] 2013-02-26 21:25:25,405 [ 237910]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT ["Dom","setOuterHtml",["dc48ad8","head > body > div#d",0,"<div id=\"d\">\n        <p>MDS</p>\n\n          asdasdsd\n      </div>"]] 2013-02-26 21:25:34,071 [ 246576]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT [1,[[]]] 2013-02-26 21:25:34,076 [ 246581]  DEBUG - rains.io.jsonRpc.JsonRpcServer - IN [2, "Pages", "filterInspectable", "dc48ad8", ["www.google.ru","/search","www.jetbrains.com","/support/phpstorm/","devnet.jetbrains.com","/community/wi;jsessionid=9C9FC9880789581A791035850AD84DD0","devnet.jetbrains.com","/thread/442120","devnet.jetbrains.com","/docs/DOC-1202"]] 2013-02-26 21:25:34,078 [ 246583]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT [2,[[]]] 2013-02-26 21:25:34,080 [ 246585]  DEBUG - rains.io.jsonRpc.JsonRpcServer - IN [3, "Pages", "filterInspectable", "dc48ad8", ["www.google.ru","/search","www.jetbrains.com","/support/phpstorm/","devnet.jetbrains.com","/community/wi;jsessionid=9C9FC9880789581A791035850AD84DD0","devnet.jetbrains.com","/thread/442120","devnet.jetbrains.com","/docs/DOC-1202"]] 2013-02-26 21:25:34,082 [ 246587]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT [3,[[]]] 2013-02-26 21:25:34,083 [ 246588]  DEBUG - rains.io.jsonRpc.JsonRpcServer - IN [4, "Pages", "filterInspectable", "null", ["www.google.ru","/search","www.jetbrains.com","/support/phpstorm/","devnet.jetbrains.com","/community/wi;jsessionid=9C9FC9880789581A791035850AD84DD0","devnet.jetbrains.com","/thread/442120","devnet.jetbrains.com","/docs/DOC-1202"]] 2013-02-26 21:25:34,084 [ 246589]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT [4,[[]]] 2013-02-26 21:25:34,084 [ 246589]  DEBUG - rains.io.jsonRpc.JsonRpcServer - IN [5, "Pages", "filterInspectable", "dc48ad8", ["www.google.ru","/search","www.jetbrains.com","/support/phpstorm/","devnet.jetbrains.com","/community/wi;jsessionid=9C9FC9880789581A791035850AD84DD0","devnet.jetbrains.com","/thread/442120","devnet.jetbrains.com","/docs/DOC-1202"]] 2013-02-26 21:25:34,085 [ 246590]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT [5,[[]]] 2013-02-26 21:25:51,651 [ 264156]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT ["Dom","setOuterHtml",["dc48ad8","head > body > div#d",0,"<div id=\"d\">\n        <p>MDS</p>\n\n          sd\n      </div>"]] 2013-02-26 21:25:51,658 [ 264163]  DEBUG - rains.io.jsonRpc.JsonRpcServer - IN [6, "Pages", "filterInspectable", "dc48ad8", ["www.google.ru","/search","www.jetbrains.com","/support/phpstorm/","devnet.jetbrains.com","/community/wi;jsessionid=9C9FC9880789581A791035850AD84DD0","devnet.jetbrains.com","/thread/442120","devnet.jetbrains.com","/docs/DOC-1202"]] 2013-02-26 21:25:51,659 [ 264164]  DEBUG - rains.io.jsonRpc.JsonRpcServer - OUT [6,[[]]]

0
Comment actions Permalink

Surprisingly, but with Google Chrome 27.0.1425.0 dev everything works just well.

0

Please sign in to leave a comment.