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 199298 - AssertionError: The same token (index: 3938 - WHITESPACE, format tokens: 6961) was precessed before. Please report this to help fix issue 188809. <?php /*********************************************
Summary: AssertionError: The same token (index: 3938 - WHITESPACE, format tokens: 6961...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-09 07:32 UTC by St.Ev
Modified: 2011-06-14 14:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 179258


Attachments
stacktrace (13.22 KB, text/plain)
2011-06-09 07:32 UTC, St.Ev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description St.Ev 2011-06-09 07:32:50 UTC
This bug was originally marked as duplicate of bug 197806, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-7297-on-20110531)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

User Comments:
St.Ev: format source

vercinstex: formatting source




Stacktrace: 
java.lang.AssertionError: The same token (index: 3938 - WHITESPACE, format tokens: 6961)  was precessed before.
Please report this to help fix issue 188809.

<?php
/***************************************************************************
 *   Copyright (C) by Sergeev S. Sergey, Evgeny M. Stepanov                *
 *   serge@rdw.ru, from.stev@gmail.com                                     *
 ***************************************************************************
 * $Id$ */

abstract class v3_myBaseResume extends MyPersonalFolder implements IMetaLogic
{
	protected $resume					= null;
	protected $publishResumeCount		= 0;
	protected $isCreateOperation		= false;
	protected $employer					= null;

	public function init()
	{
		/*
		//	#7003
		// 		?????? ???????????? ?????? ?? ????? ????????? ??????: ??????? ??? ??? ??? ????????
		$ownerType	= v3_PaidModelRole::createFromSession()->getOwnerType();
		switch ($ownerType) {
			case v3_PaidModelOwnerType::OWNER_IS_ANONYMOUS:
				// ????????? ??? ???? ???????? - ?? 
   at org.netbeans.modules.php.editor.indent.FormatVisitor.showAssertionFor188809(FormatVisitor.java:1088)
   at org.netbeans.modules.php.editor.indent.FormatVisitor.addFormatToken(FormatVisitor.java:1099)
   at org.netbeans.modules.php.editor.indent.FormatVisitor.visit(FormatVisitor.java:936)
   at org.netbeans.modules.php.editor.parser.astnodes.ReturnStatement.accept(ReturnStatement.java:73)
   at org.netbeans.modules.php.editor.parser.astnodes.visitors.DefaultVisitor.scan(DefaultVisitor.java:54)
   at org.netbeans.modules.php.editor.indent.FormatVisitor.scan(FormatVisitor.java:189)
Comment 1 St.Ev 2011-06-09 07:32:55 UTC
Created attachment 108817 [details]
stacktrace
Comment 2 Petr Pisl 2011-06-13 15:19:21 UTC
Fixed in web-main and releases/release701
Comment 3 Quality Engineering 2011-06-14 04:59:09 UTC
Integrated into 'releases'
Changeset: http://hg.netbeans.org/releases/rev/a048e76bc3f2
User: Petr Pisl <ppisl@netbeans.org>
Log: #199298 - AssertionError: The same token (index: 3938 - WHITESPACE, format tokens: 6961) was precessed before. Please report this to help fix issue 188809.
(transplanted from bc6b007d39f3576c42fdb74b5360ecd86be9e16f)
Comment 4 Quality Engineering 2011-06-14 14:04:20 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/bc6b007d39f3
User: Petr Pisl <ppisl@netbeans.org>
Log: #199298 - AssertionError: The same token (index: 3938 - WHITESPACE, format tokens: 6961) was precessed before. Please report this to help fix issue 188809.