Skip to content

Instantly share code, notes, and snippets.

@mente
Created October 13, 2014 08:04
Show Gist options
  • Save mente/609fb3e1cb22d554415b to your computer and use it in GitHub Desktop.
Save mente/609fb3e1cb22d554415b to your computer and use it in GitHub Desktop.
PhpStorm 8.0.1 require.js error
require.config({
waitSeconds: 15,
baseUrl: '/js',
paths: {
templates: '../templates',
knockout: 'libs/knockout',
'jquery.ui.widget': 'libs/ui/widget',
'jquery.ui.sortable': 'libs/ui/sortable',
core: 'libs/ui/core',
mouse: 'libs/ui/mouse',
widget: 'libs/ui/widget',
'load-image': 'libs/load-image'
},
deps: ['common']
});
null
java.lang.NullPointerException
at requirejs.RequirePaths.resolve(RequirePaths.java:45)
at requirejs.RequirejsProjectComponent.requireResolve(RequirejsProjectComponent.java:664)
at requirejs.RequirejsReference.resolve(RequirejsReference.java:40)
at com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection$1.visitJSLiteralExpression(JSUnusedLocalSymbolsInspection.java:121)
at com.intellij.lang.javascript.psi.impl.JSLiteralExpressionImpl.accept(JSLiteralExpressionImpl.java:81)
at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:79)
at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:68)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.a(LocalInspectionsPass.java:288)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.access$000(LocalInspectionsPass.java:74)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:257)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:254)
at com.intellij.concurrency.ApplierCompleter.a(ApplierCompleter.java:119)
at com.intellij.concurrency.ApplierCompleter.access$000(ApplierCompleter.java:42)
at com.intellij.concurrency.ApplierCompleter$1.run(ApplierCompleter.java:82)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1180)
at com.intellij.concurrency.ApplierCompleter$2.run(ApplierCompleter.java:91)
at com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:193)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:211)
at com.intellij.concurrency.ApplierCompleter.a(ApplierCompleter.java:103)
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:79)
at jsr166e.CountedCompleter.exec(CountedCompleter.java:684)
at jsr166e.ForkJoinTask.doExec(ForkJoinTask.java:260)
at jsr166e.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:858)
at jsr166e.ForkJoinPool.scan(ForkJoinPool.java:1687)
at jsr166e.ForkJoinPool.runWorker(ForkJoinPool.java:1642)
at jsr166e.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:109)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment