Friday, December 7, 2012

mongo4idea 0.1.1 is out

First release, first bugs :)

The mongo plugin has been quickly updated :
  • #13 NotFoundClassDefException in IDEA 12: Jetbrains removed Apache collections from this version, so I had to handle the code without this lib
  • #14 UI resources not properly disposed when closing the project

The version 0.1.1 should be downloadable in a couple of hours.

Cheers,

David

5 comments:

  1. I just discovered mongo4idea. Simple but effective, easy to use and definitely useful. Thanks for developing this IntelliJ IDEA plugin!

    ReplyDelete
    Replies
    1. hi Rob,

      I am glad this plugin is useful for you.

      If you have any suggestion, do not hesitate to post it on the github project (Issue section).

      Cheers,

      David

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Hi David,

    It crashed in idea 12 CE with following error:

    org.codinjutsu.tools.mongo.MongoComponent@364e2899: can't call something : localhost/127.0.0.1:27017/admin
    com.mongodb.MongoException$Network: can't call something : localhost/127.0.0.1:27017/admin
    at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:284)
    at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:289)
    at com.mongodb.DB.command(DB.java:259)
    at com.mongodb.DB.command(DB.java:241)
    at com.mongodb.DB.command(DB.java:282)
    at com.mongodb.Mongo.getDatabaseNames(Mongo.java:373)
    at org.codinjutsu.tools.mongo.logic.MongoManager.connect(MongoManager.java:34)
    at org.codinjutsu.tools.mongo.MongoComponent.projectOpened(MongoComponent.java:106)
    at com.intellij.openapi.project.impl.ProjectImpl.projectOpened(ProjectImpl.java:415)
    at com.intellij.openapi.project.impl.ProjectImpl.access$200(ProjectImpl.java:75)
    at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:451)
    at com.intellij.openapi.project.impl.ProjectManagerImpl$2.projectOpened(ProjectManagerImpl.java:153)
    at com.intellij.openapi.project.impl.ProjectManagerImpl.fireProjectOpened(ProjectManagerImpl.java:1030)
    at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:408)
    at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:473)
    at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:176)
    at com.intellij.ide.RecentProjectsManager.doOpenProject(RecentProjectsManager.java:46)
    at com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appStarting(RecentProjectsManagerBase.java:304)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:109)
    at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:230)
    at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:222)
    at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:212)
    at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:43)
    at com.intellij.util.messages.impl.MessageBusImpl$2.invoke(MessageBusImpl.java:135)
    at $Proxy36.appStarting(Unknown Source)
    at com.intellij.idea.IdeaApplication.loadProject(IdeaApplication.java:366)
    at com.intellij.idea.IdeaApplication.access$500(IdeaApplication.java:60)
    at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:333)
    at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:333)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
    at java.awt.EventQueue.access$400(EventQueue.java:82)
    at java.awt.EventQueue$2.run(EventQueue.java:663)
    at java.awt.EventQueue$2.run(EventQueue.java:661)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)

    ReplyDelete
    Replies
    1. Hi,

      It means the plugin cannot find any mongo srever on localhost/27017.

      However, the feedback is ugly and I uploaded in the github page a 0.1.2-SNAPSHOT version: https://github.com/downloads/dboissier/mongo4idea/mongo4idea-0.1.2-SNAPSHOT-distribution.zip.

      You can download and install it manually (Plugins->Install from disk...).

      Tell me if the feedback is better.

      Cheers,

      David

      Delete