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.
Summary: | Generation of Twitter OAuth service is failing. | ||
---|---|---|---|
Product: | webservices | Reporter: | JimClarke <jimclarke> |
Component: | REST | Assignee: | Milan Kuchtiak <mkuchtiak> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | rbalada |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | Macintosh (x86) | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
JimClarke
2010-06-18 14:43:48 UTC
Casting packageName (ExpressionTree) to IdentifierTree fails on Mac/Windows probably. The following usage is incorrect: String packageName = ((IdentifierTree)workingCopy.getCompilationUnit().getPackageName()).getName().toString(); Consulting the proper fix with Java Source team. The workaround (for now) is to create OAuth client in Java EE 6 web project, or in J2SE project (any project without deployment descriptor). I got it. The problem occurs when the package name consists of more entries, e.g. package name = org.netbeans.twitter The workaround for now is to use simple package name, e.g. "twitter". Stupid bug. Thank You. Please verify bugfix for this bug, so it can be integrated into release691 repository. Thanks, -R Release 6.9 works when only one word is used in the package name as in "twitter". Integrated into 'main-golden', will be available in build *201006220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8cc23415b1d1 User: mkuchtiak@netbeans.org Log: #187793: fixed invalid way of package name computation main #8cc23415b1d1 transplanted to release691 #0a3a8d168528 verified in NetBeans IDE 6.9.1 Dev (Build 201007072301) |