Sorien / silex-idea-plugin

Idea plugin for Silex Framework - plugin is not compatible with PHPStorm 2016.2
MIT License
26 stars 8 forks source link

Error Loading Default Project #1

Closed jacekpl closed 9 years ago

jacekpl commented 9 years ago

I installed Silex plugin and silex-pimple-dumper. I've made dump (pimple.json attached). After restarting PhpStorm (8.0.3) I get that error while trying to open any project: phpstorm-silex-plugin

composer.json:
"require": {
    "silex/silex": "^1.3",
    "sorien/silex-pimple-dumper": "^1.0",
    "doctrine/dbal": "^2.5"
}

pimple.json:

[
    {
        "name": "logger",
        "type": "null",
        "value": ""
    },
    {
        "name": "routes",
        "type": "class",
        "value": "Symfony\\Component\\Routing\\RouteCollection"
    },
    {
        "name": "controllers",
        "type": "class",
        "value": "Silex\\ControllerCollection"
    },
    {
        "name": "controllers_factory",
        "type": "class",
        "value": "Silex\\ControllerCollection"
    },
    {
        "name": "route_class",
        "type": "string",
        "value": "Silex\\Route"
    },
    {
        "name": "route_factory",
        "type": "class",
        "value": "Silex\\Route"
    },
    {
        "name": "exception_handler",
        "type": "class",
        "value": "Silex\\ExceptionHandler"
    },
    {
        "name": "dispatcher_class",
        "type": "string",
        "value": "Symfony\\Component\\EventDispatcher\\EventDispatcher"
    },
    {
        "name": "dispatcher",
        "type": "class",
        "value": "Symfony\\Component\\EventDispatcher\\EventDispatcher"
    },
    {
        "name": "callback_resolver",
        "type": "class",
        "value": "Silex\\CallbackResolver"
    },
    {
        "name": "resolver",
        "type": "class",
        "value": "Silex\\ControllerResolver"
    },
    {
        "name": "kernel",
        "type": "class",
        "value": "Symfony\\Component\\HttpKernel\\HttpKernel"
    },
    {
        "name": "request_stack",
        "type": "class",
        "value": "Symfony\\Component\\HttpFoundation\\RequestStack"
    },
    {
        "name": "request_context",
        "type": "class",
        "value": "Symfony\\Component\\Routing\\RequestContext"
    },
    {
        "name": "url_matcher",
        "type": "class",
        "value": "Silex\\RedirectableUrlMatcher"
    },
    {
        "name": "request_error",
        "type": "closure",
        "value": ""
    },
    {
        "name": "request",
        "type": "class",
        "value": "Symfony\\Component\\HttpFoundation\\Request"
    },
    {
        "name": "request.http_port",
        "type": "int",
        "value": 80
    },
    {
        "name": "request.https_port",
        "type": "int",
        "value": 443
    },
    {
        "name": "debug",
        "type": "bool",
        "value": false
    },
    {
        "name": "charset",
        "type": "string",
        "value": "UTF-8"
    },
    {
        "name": "locale",
        "type": "string",
        "value": "en"
    },
    {
        "name": "dump.path",
        "type": "string",
]
        "value": "\/home\/vagrant\/Projects\/kapslownice\/web\/.."
    },
    {
        "name": "db.default_options",
        "type": "\\array",
        "value": ""
    },
    {
        "name": "dbs.options.initializer",
        "type": "closure",
        "value": ""
    },
    {
        "name": "dbs",
        "type": "class",
        "value": "Pimple"
    },
    {
        "name": "dbs.config",
        "type": "class",
        "value": "Pimple"
    },
    {
        "name": "dbs.event_manager",
        "type": "class",
        "value": "Pimple"
    },
    {
        "name": "db",
        "type": "class",
        "value": "Doctrine\\DBAL\\Connection"
    },
    {
        "name": "db.config",
        "type": "class",
        "value": "Doctrine\\DBAL\\Configuration"
    },
    {
        "name": "db.event_manager",
        "type": "class",
        "value": "Doctrine\\Common\\EventManager"
    },
    {
        "name": "db.options",
        "type": "\\array",
        "value": ""
    }
]
Sorien commented 9 years ago

can you tell me which version of JRE your PhpStorm uses? (Help -> About)

jacekpl commented 9 years ago

JRE: 1.6.0_65-b14-466.1-11M4716 x86_64

Sorien commented 9 years ago

can you try this one https://github.com/Sorien/silex-idea-plugin/releases/tag/0.9_JDK6

jacekpl commented 9 years ago

That one works fine:)

Sorien commented 9 years ago

i'll pay attention next time ...