This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 125205 - Can not work with php - IDE throws RuntimeException
Summary: Can not work with php - IDE throws RuntimeException
Status: VERIFIED DUPLICATE of bug 124707
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Andrew Korostelev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-14 11:08 UTC by Victoria Zhukovskaya
Modified: 2008-01-17 09:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victoria Zhukovskaya 2008-01-14 11:08:00 UTC
Can not work with php - IDE throws RuntimeException


Build 200801140000, WinXP

Create PHP project.


Result: Wait 3-5 sec then  IDE throws RuntimeException
Can not edit php. IDE hangs and throws exception




Annotation: An error occurred during parsing of 'D:\Documents and Settings\vz153235.OLYMP\My
Documents\NetBeansProjects\PhpProject7\index.php'. Please report a bug against ruby and attach dump file 'D:\Documents
and Settings\vz153235.OLYMP\.netbeans\dev\var\log\index_14.dump'.
Annotation: An error occurred during parsing of 'D:\Documents and Settings\vz153235.OLYMP\My
Documents\NetBeansProjects\PhpProject7\index.php'. Please report a bug against ruby and attach dump file 'D:\Documents
and Settings\vz153235.OLYMP\.netbeans\dev\var\log\index_14.dump'.
An error occurred during parsing of 'D:\Documents and Settings\vz153235.OLYMP\My
Documents\NetBeansProjects\PhpProject7\index.php'. Please report a bug against ruby and attach dump file 'D:\Documents
and Settings\vz153235.OLYMP\.netbeans\dev\var\log\index_14.dump'.
An error occurred during parsing of 'D:\Documents and Settings\vz153235.OLYMP\My
Documents\NetBeansProjects\PhpProject7\index.php'. Please report a bug against ruby and attach dump file 'D:\Documents
and Settings\vz153235.OLYMP\.netbeans\dev\var\log\index_14.dump'.
Caused: java.lang.RuntimeException: Language for mime-type text/x-pure-php5 is not found
	at org.netbeans.modules.php.lexer.PhpTokenId.getPurePhpLanguage(PhpTokenId.java:173)
	at org.netbeans.modules.php.lexer.PhpTokenId.getPhpLanguage(PhpTokenId.java:97)
	at org.netbeans.modules.php.model.impl.PhpModelImpl.doSync(PhpModelImpl.java:277)
	at org.netbeans.modules.php.model.impl.PhpModelImpl.access$100(PhpModelImpl.java:83)
	at org.netbeans.modules.php.model.impl.PhpModelImpl$1.run(PhpModelImpl.java:161)
	at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1206)
	at org.netbeans.modules.php.model.impl.PhpModelImpl.sync(PhpModelImpl.java:159)
	at org.netbeans.modules.languages.php.PhpParser.parseFiles(PhpParser.java:142)
	at org.netbeans.napi.gsfret.source.Source.moveToPhase(Source.java:880)
	at org.netbeans.napi.gsfret.source.Source$CompilationJob.run(Source.java:1192)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[catch] at java.lang.Thread.run(Thread.java:619)
Comment 1 Andrew Korostelev 2008-01-14 15:42:26 UTC
Filed exception is already described in issue 124707.
Mark this one as duplicate.

*** This issue has been marked as a duplicate of 124707 ***
Comment 2 Victoria Zhukovskaya 2008-01-17 09:59:47 UTC
duplicate